PROGRAMMING:6-2 output n integers in reverse order (upgrade)
6-2 input a positive integer n, and then input n integers, and save them in array a. the N numbers are required to be output in reverse order and separated by commas in one line.
###Input format:
Enter a positive integer n in one line; Then give n integers in the second line, separated by spaces.
###Output format:
Output n integers in one line, separated by commas.
###Input example:
Here is a set of inputs. For example:
```in
three
0 1 2
```
###Output example:
The corresponding output is given here. For example:
```out
2,1,0
```
answer:If there is no answer, please comment
###Input format:
Enter a positive integer n in one line; Then give n integers in the second line, separated by spaces.
###Output format:
Output n integers in one line, separated by commas.
###Input example:
Here is a set of inputs. For example:
```in
three
0 1 2
```
###Output example:
The corresponding output is given here. For example:
```out
2,1,0
```
answer:If there is no answer, please comment