import java.util.Scanner;
public class Main{
public static void main(String[] args){
Scanner scan = new Scanner(System.in);

int n = scan.nextInt();
int[] a = new int[n];
for(int j = 0;j<n;j++){
a[j]= scan.nextInt();}
for(int i = n-1;i>=0;i--){
if(i>0){System.out.print(a[i] + " ");
}
else{System.out.println(a[0]);}
}}} import java.util.Scanner; Scanner java.util public class Main{
public static void main(String[] args){
Scanner scan = new Scanner(System.in);

int n = scan.nextInt();
int[] a = new int[n];
for(int j = 0;j<n;j++){
a[j]= scan.nextInt();}
for(int i = n-1;i>=0;i--){
if(i>0){System.out.print(a[i] + " ");
}
else{System.out.println(a[0]);}
}}} Main public static void main(String[] args){
Scanner scan = new Scanner(System.in);

int n = scan.nextInt();
int[] a = new int[n];
for(int j = 0;j<n;j++){
a[j]= scan.nextInt();}
for(int i = n-1;i>=0;i--){
if(i>0){System.out.print(a[i] + " ");
}
else{System.out.println(a[0]);}
}} main {
Scanner scan = new Scanner(System.in);

int n = scan.nextInt();
int[] a = new int[n];
for(int j = 0;j<n;j++){
a[j]= scan.nextInt();}
for(int i = n-1;i>=0;i--){
if(i>0){System.out.print(a[i] + " ");
}
else{System.out.println(a[0]);}
}} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int n = scan.nextInt(); n scan.nextInt() scan.nextInt scan int[] a = new int[n]; a new int[n] n for(int j = 0;j<n;j++){
a[j]= scan.nextInt();} int j = 0; int j = 0; j 0 j<n j n j++ j++ j {
a[j]= scan.nextInt();} {
a[j]= scan.nextInt();} a[j]= scan.nextInt() a[j] a j scan.nextInt() scan.nextInt scan for(int i = n-1;i>=0;i--){
if(i>0){System.out.print(a[i] + " ");
}
else{System.out.println(a[0]);}
} int i = n-1; int i = n-1; i n-1 n 1 i>=0 i 0 i-- i-- i {
if(i>0){System.out.print(a[i] + " ");
}
else{System.out.println(a[0]);}
} {
if(i>0){System.out.print(a[i] + " ");
}
else{System.out.println(a[0]);}
} if(i>0){System.out.print(a[i] + " ");
}
else{System.out.println(a[0]);} i>0 i 0 {System.out.print(a[i] + " ");
} System.out.print(a[i] + " ") System.out.print System.out System System.out a[i] + " " a[i] a i " " {System.out.println(a[0]);} System.out.println(a[0]) System.out.println System.out System System.out a[0] a 0 String[] args args public class Main{
public static void main(String[] args){
Scanner scan = new Scanner(System.in);

int n = scan.nextInt();
int[] a = new int[n];
for(int j = 0;j<n;j++){
a[j]= scan.nextInt();}
for(int i = n-1;i>=0;i--){
if(i>0){System.out.print(a[i] + " ");
}
else{System.out.println(a[0]);}
}}} public class Main{
public static void main(String[] args){
Scanner scan = new Scanner(System.in);

int n = scan.nextInt();
int[] a = new int[n];
for(int j = 0;j<n;j++){
a[j]= scan.nextInt();}
for(int i = n-1;i>=0;i--){
if(i>0){System.out.print(a[i] + " ");
}
else{System.out.println(a[0]);}
}}} Main
import java.util.Scanner;
public class Main{
public static void main(String[] args){
Scanner scan = new Scanner(System.in);

int n = scan.nextInt();
int[] a = new int[n];
for(int j = 0;j<n;j++){
a[j]= scan.nextInt();}
for(int i = n-1;i>=0;i--){
if(i>0){System.out.print(a[i] + " ");
}
else{System.out.println(a[0]);}
}}}