import java.io.*;
class Main{
public static void main(String[] args)throws IOException{
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
String str=br.readLine();
int n=Integer.parseInt(str);
String str2=br.readLine();
String[] arr=str2.split(" ");
String[] rev =new String[n];
for(int i=0; i<n; i++){
rev[i]=arr[n-i-1];
System.out.print(rev[i]);
if(i !=n-1)  System.out.print(" ");
}
System.out.println();
br.close();
}
}  import java.io.*; io.* java class Main{
public static void main(String[] args)throws IOException{
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
String str=br.readLine();
int n=Integer.parseInt(str);
String str2=br.readLine();
String[] arr=str2.split(" ");
String[] rev =new String[n];
for(int i=0; i<n; i++){
rev[i]=arr[n-i-1];
System.out.print(rev[i]);
if(i !=n-1)  System.out.print(" ");
}
System.out.println();
br.close();
}
} Main public static void main(String[] args)throws IOException{
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
String str=br.readLine();
int n=Integer.parseInt(str);
String str2=br.readLine();
String[] arr=str2.split(" ");
String[] rev =new String[n];
for(int i=0; i<n; i++){
rev[i]=arr[n-i-1];
System.out.print(rev[i]);
if(i !=n-1)  System.out.print(" ");
}
System.out.println();
br.close();
} main {
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
String str=br.readLine();
int n=Integer.parseInt(str);
String str2=br.readLine();
String[] arr=str2.split(" ");
String[] rev =new String[n];
for(int i=0; i<n; i++){
rev[i]=arr[n-i-1];
System.out.print(rev[i]);
if(i !=n-1)  System.out.print(" ");
}
System.out.println();
br.close();
} BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String str=br.readLine(); str br.readLine() br.readLine br int n=Integer.parseInt(str); n Integer.parseInt(str) Integer.parseInt Integer str String str2=br.readLine(); str2 br.readLine() br.readLine br String[] arr=str2.split(" "); arr str2.split(" ") str2.split str2 " " String[] rev =new String[n]; rev new String[n] n for(int i=0; i<n; i++){
rev[i]=arr[n-i-1];
System.out.print(rev[i]);
if(i !=n-1)  System.out.print(" ");
} int i=0; int i=0; i 0 i<n i n i++ i++ i {
rev[i]=arr[n-i-1];
System.out.print(rev[i]);
if(i !=n-1)  System.out.print(" ");
} {
rev[i]=arr[n-i-1];
System.out.print(rev[i]);
if(i !=n-1)  System.out.print(" ");
} rev[i]=arr[n-i-1] rev[i] rev i arr[n-i-1] arr n-i-1 n-i-1 n i 1 System.out.print(rev[i]) System.out.print System.out System System.out rev[i] rev i if(i !=n-1)  System.out.print(" "); i !=n-1 i n-1 n 1 System.out.print(" ") System.out.print System.out System System.out " " System.out.println() System.out.println System.out System System.out br.close() br.close br String[] args args
import java.io.*;
class Main{
public static void main(String[] args)throws IOException{
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
String str=br.readLine();
int n=Integer.parseInt(str);
String str2=br.readLine();
String[] arr=str2.split(" ");
String[] rev =new String[n];
for(int i=0; i<n; i++){
rev[i]=arr[n-i-1];
System.out.print(rev[i]);
if(i !=n-1)  System.out.print(" ");
}
System.out.println();
br.close();
}
} 