## TIGA - Nuts Frenzy

Ivan, Filbert, and Tracy really like nuts. They can eat nuts without stopping all day long if they want to. Today they decided to buy some nuts so each one of them get exactly K nuts (1<=K<=1,000,000,000) and they want to eat it all. To make it interesting, they are only allowed to eat a certain number of nuts every second.

• Ivan can eat at max I nuts per second. (1<=I<=1,000,000)
• Filbert can eat at max K/F nuts per second. (1<=F<=100)
• Tracy can eat at max the sum of all the factors of K excluding 1 and K nuts per second.

They are not allowed to eat only a fraction of a nut every second, and they must eat a minimum of 1 nut every second regardless of the previous rule. They can stop eating after they run out of nuts. Your task is to determine the time needed (in seconds) for each of them to finish their nuts!

### Input

The first line of input is T, the number of test case. (T<20)
The next T lines each consists of three numbers K, I, and separated by a space.

### Output

For each test case, output the minimum time needed for Ivan, Filbert, and Tracy to finish their nuts.

### Example

```Input:
310 2 5100 10 4121 100 1Output:
5 5 210 4 12 1 11```