Problem No.  5  - Binary Multiplication

Source code file: binmult.cc






Your task in this problem is to write a program that will read in two binary numbers, multiply them, and output their product. The input file will have several lines, each containing two binary strings (strings consisting only of the characters '0' and '1'). The two binary strings will be no more than 200 bits in length (each), and will be separated by at least one space character, ' '. The output file should contain one binary string for each pair of input strings -- namely, their product. Each output string should appear at the start of a new line.
 

Example Input

0  101101100001110100000000100010
1010  101
 

Example Output

0
110010