For a given array reverse its order.

### Input

In the first line there will be a number of the data sets *t*. In the next *t* lines data sets follows. Each data set is a line of numbers separated by spaces. First number *n _{i}* is the length of the array. Next

*n*numbers are the values in array.

_{i}### Output

For *i*^{th} data set write values from array in reversed order. Numbers should be separated by spaces and answers for data sets should be separated by a new line.

### Example

Input:2 7 1 2 3 4 5 6 7 3 3 2 11Output:7 6 5 4 3 2 1 11 2 3