For two positive integers , define the BCD operation as follows.
Here, is the greatest common divisor of and , and is their least common multiple.
For example, and have greatest common divisor and least common multiple , so .
Given two positive integers , find .
The input has the following format.
For each test case, print on its own line.
In the first test case, the greatest common divisor is and the least common multiple is , giving . In the second, they are and , giving . In the third, both are , giving .
The first line contains the number of test cases .
Each test case has the following format.
Each test case consists of one line containing two positive integers separated by a space.