Multiplication#5899

Multiplication

4 seconds
64 megabytes
Hard

In this problem, your task is to calculate the product of two numbers for multiple test cases.

Input

The input begins with an integer (1 \leq t \leq 10), representing the number of test cases. Each test case is described over two lines: the first line contains a non-negative integer a_i, and the second line contains another non-negative integer b_i. Both numbers are provided without leading zeros and can have up to digits.

Output

For each test case, output the product of a_i and b_i as a single number. Ensure there are no leading zeros in the output, and separate the results for each test case with a newline.

Examples

Example 1

Loading
Loading