#P1690A. Print a Pedestal (Codeforces logo?)
Print a Pedestal (Codeforces logo?)
Description
Given the integer — the number of available blocks. You must use all blocks to build a pedestal.
The pedestal consists of platforms for -nd, -st and -rd places respectively. The platform for the -st place must be strictly higher than for the -nd place, and the platform for the -nd place must be strictly higher than for the -rd place. Also, the height of each platform must be greater than zero (that is, each platform must contain at least one block).

Among all possible pedestals of blocks, deduce one such that the platform height for the -st place minimum as possible. If there are several of them, output any of them.
The first line of input data contains an integer () — the number of test cases.
Each test case contains a single integer () — the total number of blocks for the pedestal. All blocks must be used.
It is guaranteed that the sum of values over all test cases does not exceed .
For each test case, output numbers — the platform heights for -nd, -st and -rd places on a pedestal consisting of blocks (, ).
Among all possible pedestals, output the one for which the value of minimal. If there are several of them, output any of them.
Input
The first line of input data contains an integer () — the number of test cases.
Each test case contains a single integer () — the total number of blocks for the pedestal. All blocks must be used.
It is guaranteed that the sum of values over all test cases does not exceed .
Output
For each test case, output numbers — the platform heights for -nd, -st and -rd places on a pedestal consisting of blocks (, ).
Among all possible pedestals, output the one for which the value of minimal. If there are several of them, output any of them.
Note
In the first test case we can not get the height of the platform for the first place less than , because if the height of the platform for the first place is not more than , then we can use at most blocks. And we should use blocks. Therefore, the answer 4 5 2 fits.
In the second set, the only suitable answer is: 2 3 1.