#P1665A. GCD vs LCM
GCD vs LCM
Description
You are given a positive integer . You have to find positive integers such that
- , and
- .
If there are several possible answers you can output any of them. It is possible to show that the answer always exists.
In this problem denotes the greatest common divisor of and , and denotes the least common multiple of and .
The input consists of multiple test cases. The first line contains a single integer () — the number of test cases. Description of the test cases follows.
Each test case contains a single line with integer () — the sum of , , , and .
For each test case output positive integers , , , such that and .
Input
The input consists of multiple test cases. The first line contains a single integer () — the number of test cases. Description of the test cases follows.
Each test case contains a single line with integer () — the sum of , , , and .
Output
For each test case output positive integers , , , such that and .
Note
In the first test case , .
In the second test case , .
In the third test case , .
In the fourth test case , .
In the fifth test case , .