The input consists of several test cases and is terminated by end-of-file.
The first line of each test case contains an integer n.
The i-th of the following n lines contains 3 integers,
and
.
For each test case, print n integersseperated by spaces.
DO NOT print trailing spaces.
*
*
* The sum of n does not exceed.