import java.io.*;

public class Main{
 public static void main(String[] args){
	try{  
	 BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
  	 int x  = Integer.parseInt(br.readLine());
  	 String[] str = br.readLine().split(" ");

		for(int i = str.length-1;  i >= 0; i--){
			if(i != 0){
		 	 System.out.print(str[i] + " ");
			}else{
		 	 System.out.println(str[i]);
			}
		}
	}catch(IOException e){
	 System.out.println(e);
	}
}
} import java.io.*; io.* java public class Main{
 public static void main(String[] args){
	try{  
	 BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
  	 int x  = Integer.parseInt(br.readLine());
  	 String[] str = br.readLine().split(" ");

		for(int i = str.length-1;  i >= 0; i--){
			if(i != 0){
		 	 System.out.print(str[i] + " ");
			}else{
		 	 System.out.println(str[i]);
			}
		}
	}catch(IOException e){
	 System.out.println(e);
	}
}
} Main public static void main(String[] args){
	try{  
	 BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
  	 int x  = Integer.parseInt(br.readLine());
  	 String[] str = br.readLine().split(" ");

		for(int i = str.length-1;  i >= 0; i--){
			if(i != 0){
		 	 System.out.print(str[i] + " ");
			}else{
		 	 System.out.println(str[i]);
			}
		}
	}catch(IOException e){
	 System.out.println(e);
	}
} main {
	try{  
	 BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
  	 int x  = Integer.parseInt(br.readLine());
  	 String[] str = br.readLine().split(" ");

		for(int i = str.length-1;  i >= 0; i--){
			if(i != 0){
		 	 System.out.print(str[i] + " ");
			}else{
		 	 System.out.println(str[i]);
			}
		}
	}catch(IOException e){
	 System.out.println(e);
	}
} try{  
	 BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
  	 int x  = Integer.parseInt(br.readLine());
  	 String[] str = br.readLine().split(" ");

		for(int i = str.length-1;  i >= 0; i--){
			if(i != 0){
		 	 System.out.print(str[i] + " ");
			}else{
		 	 System.out.println(str[i]);
			}
		}
	}catch(IOException e){
	 System.out.println(e);
	} catch(IOException e){
	 System.out.println(e);
	} IOException e {
	 System.out.println(e);
	} System.out.println(e) System.out.println System.out System System.out e {  
	 BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
  	 int x  = Integer.parseInt(br.readLine());
  	 String[] str = br.readLine().split(" ");

		for(int i = str.length-1;  i >= 0; i--){
			if(i != 0){
		 	 System.out.print(str[i] + " ");
			}else{
		 	 System.out.println(str[i]);
			}
		}
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) int x  = Integer.parseInt(br.readLine()); x Integer.parseInt(br.readLine()) Integer.parseInt Integer br.readLine() br.readLine br String[] str = br.readLine().split(" "); str br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " for(int i = str.length-1;  i >= 0; i--){
			if(i != 0){
		 	 System.out.print(str[i] + " ");
			}else{
		 	 System.out.println(str[i]);
			}
		} int i = str.length-1; int i = str.length-1; i str.length-1 str.length str str.length 1 i >= 0 i 0 i-- i-- i {
			if(i != 0){
		 	 System.out.print(str[i] + " ");
			}else{
		 	 System.out.println(str[i]);
			}
		} {
			if(i != 0){
		 	 System.out.print(str[i] + " ");
			}else{
		 	 System.out.println(str[i]);
			}
		} if(i != 0){
		 	 System.out.print(str[i] + " ");
			}else{
		 	 System.out.println(str[i]);
			} i != 0 i 0 {
		 	 System.out.print(str[i] + " ");
			} System.out.print(str[i] + " ") System.out.print System.out System System.out str[i] + " " str[i] str i " " {
		 	 System.out.println(str[i]);
			} System.out.println(str[i]) System.out.println System.out System System.out str[i] str i String[] args args public class Main{
 public static void main(String[] args){
	try{  
	 BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
  	 int x  = Integer.parseInt(br.readLine());
  	 String[] str = br.readLine().split(" ");

		for(int i = str.length-1;  i >= 0; i--){
			if(i != 0){
		 	 System.out.print(str[i] + " ");
			}else{
		 	 System.out.println(str[i]);
			}
		}
	}catch(IOException e){
	 System.out.println(e);
	}
}
} public class Main{
 public static void main(String[] args){
	try{  
	 BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
  	 int x  = Integer.parseInt(br.readLine());
  	 String[] str = br.readLine().split(" ");

		for(int i = str.length-1;  i >= 0; i--){
			if(i != 0){
		 	 System.out.print(str[i] + " ");
			}else{
		 	 System.out.println(str[i]);
			}
		}
	}catch(IOException e){
	 System.out.println(e);
	}
}
} Main
import java.io.*;

public class Main{
 public static void main(String[] args){
	try{  
	 BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
  	 int x  = Integer.parseInt(br.readLine());
  	 String[] str = br.readLine().split(" ");

		for(int i = str.length-1;  i >= 0; i--){
			if(i != 0){
		 	 System.out.print(str[i] + " ");
			}else{
		 	 System.out.println(str[i]);
			}
		}
	}catch(IOException e){
	 System.out.println(e);
	}
}
}