PROGRAMMING:Invert array elements
Keyboard input n (n < = 20) number into the one-dimensional array, the programming will be inverted before and after the value re stored in the array and output.
###Input format:
In the first line, the number of input data is n, and in the second line, the number of input data is n, separated by spaces.
###Output format:
The output data is separated by commas, and finally wrapped.
###Input example:
```in
ten
1 2 3 4 5 6 7 8 9 100
```
###Output example:
```out
100,9,8,7,6,5,4,3,2,1
```
answer:If there is no answer, please comment
###Input format:
In the first line, the number of input data is n, and in the second line, the number of input data is n, separated by spaces.
###Output format:
The output data is separated by commas, and finally wrapped.
###Input example:
```in
ten
1 2 3 4 5 6 7 8 9 100
```
###Output example:
```out
100,9,8,7,6,5,4,3,2,1
```
answer:If there is no answer, please comment