import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {
	
	public static void main(String[] args) {
		try {
			BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
			String s = reader.readLine();
				
			int n = Integer.parseInt(s);
			String t = reader.readLine();
			String[] u = t.split(" "); 
			
			int[] m = new int[n];
			
			for (int i = 0; i < n; i++) {
				m[i] = Integer.parseInt(u[i]);
			}
			
			for (int j = n - 1; j > -1; j--) {
				System.out.print(m[j]);
				if (j != 0) {
					System.out.print(" ");
				}
			}
			System.out.println();
			
		} catch (IOException e) {
			e.printStackTrace();
		}
	}

} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {
	
	public static void main(String[] args) {
		try {
			BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
			String s = reader.readLine();
				
			int n = Integer.parseInt(s);
			String t = reader.readLine();
			String[] u = t.split(" "); 
			
			int[] m = new int[n];
			
			for (int i = 0; i < n; i++) {
				m[i] = Integer.parseInt(u[i]);
			}
			
			for (int j = n - 1; j > -1; j--) {
				System.out.print(m[j]);
				if (j != 0) {
					System.out.print(" ");
				}
			}
			System.out.println();
			
		} catch (IOException e) {
			e.printStackTrace();
		}
	}

} Main public static void main(String[] args) {
		try {
			BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
			String s = reader.readLine();
				
			int n = Integer.parseInt(s);
			String t = reader.readLine();
			String[] u = t.split(" "); 
			
			int[] m = new int[n];
			
			for (int i = 0; i < n; i++) {
				m[i] = Integer.parseInt(u[i]);
			}
			
			for (int j = n - 1; j > -1; j--) {
				System.out.print(m[j]);
				if (j != 0) {
					System.out.print(" ");
				}
			}
			System.out.println();
			
		} catch (IOException e) {
			e.printStackTrace();
		}
	} main {
		try {
			BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
			String s = reader.readLine();
				
			int n = Integer.parseInt(s);
			String t = reader.readLine();
			String[] u = t.split(" "); 
			
			int[] m = new int[n];
			
			for (int i = 0; i < n; i++) {
				m[i] = Integer.parseInt(u[i]);
			}
			
			for (int j = n - 1; j > -1; j--) {
				System.out.print(m[j]);
				if (j != 0) {
					System.out.print(" ");
				}
			}
			System.out.println();
			
		} catch (IOException e) {
			e.printStackTrace();
		}
	} try {
			BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
			String s = reader.readLine();
				
			int n = Integer.parseInt(s);
			String t = reader.readLine();
			String[] u = t.split(" "); 
			
			int[] m = new int[n];
			
			for (int i = 0; i < n; i++) {
				m[i] = Integer.parseInt(u[i]);
			}
			
			for (int j = n - 1; j > -1; j--) {
				System.out.print(m[j]);
				if (j != 0) {
					System.out.print(" ");
				}
			}
			System.out.println();
			
		} catch (IOException e) {
			e.printStackTrace();
		} catch (IOException e) {
			e.printStackTrace();
		} IOException e {
			e.printStackTrace();
		} e.printStackTrace() e.printStackTrace e {
			BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
			String s = reader.readLine();
				
			int n = Integer.parseInt(s);
			String t = reader.readLine();
			String[] u = t.split(" "); 
			
			int[] m = new int[n];
			
			for (int i = 0; i < n; i++) {
				m[i] = Integer.parseInt(u[i]);
			}
			
			for (int j = n - 1; j > -1; j--) {
				System.out.print(m[j]);
				if (j != 0) {
					System.out.print(" ");
				}
			}
			System.out.println();
			
		} BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); reader new BufferedReader(new InputStreamReader(System.in)) String s = reader.readLine(); s reader.readLine() reader.readLine reader int n = Integer.parseInt(s); n Integer.parseInt(s) Integer.parseInt Integer s String t = reader.readLine(); t reader.readLine() reader.readLine reader String[] u = t.split(" "); u t.split(" ") t.split t " " int[] m = new int[n]; m new int[n] n for (int i = 0; i < n; i++) {
				m[i] = Integer.parseInt(u[i]);
			} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
				m[i] = Integer.parseInt(u[i]);
			} {
				m[i] = Integer.parseInt(u[i]);
			} m[i] = Integer.parseInt(u[i]) m[i] m i Integer.parseInt(u[i]) Integer.parseInt Integer u[i] u i for (int j = n - 1; j > -1; j--) {
				System.out.print(m[j]);
				if (j != 0) {
					System.out.print(" ");
				}
			} int j = n - 1; int j = n - 1; j n - 1 n 1 j > -1 j -1 1 j-- j-- j {
				System.out.print(m[j]);
				if (j != 0) {
					System.out.print(" ");
				}
			} {
				System.out.print(m[j]);
				if (j != 0) {
					System.out.print(" ");
				}
			} System.out.print(m[j]) System.out.print System.out System System.out m[j] m j if (j != 0) {
					System.out.print(" ");
				} j != 0 j 0 {
					System.out.print(" ");
				} System.out.print(" ") System.out.print System.out System System.out " " System.out.println() System.out.println System.out System System.out String[] args args public class Main {
	
	public static void main(String[] args) {
		try {
			BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
			String s = reader.readLine();
				
			int n = Integer.parseInt(s);
			String t = reader.readLine();
			String[] u = t.split(" "); 
			
			int[] m = new int[n];
			
			for (int i = 0; i < n; i++) {
				m[i] = Integer.parseInt(u[i]);
			}
			
			for (int j = n - 1; j > -1; j--) {
				System.out.print(m[j]);
				if (j != 0) {
					System.out.print(" ");
				}
			}
			System.out.println();
			
		} catch (IOException e) {
			e.printStackTrace();
		}
	}

} public class Main {
	
	public static void main(String[] args) {
		try {
			BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
			String s = reader.readLine();
				
			int n = Integer.parseInt(s);
			String t = reader.readLine();
			String[] u = t.split(" "); 
			
			int[] m = new int[n];
			
			for (int i = 0; i < n; i++) {
				m[i] = Integer.parseInt(u[i]);
			}
			
			for (int j = n - 1; j > -1; j--) {
				System.out.print(m[j]);
				if (j != 0) {
					System.out.print(" ");
				}
			}
			System.out.println();
			
		} catch (IOException e) {
			e.printStackTrace();
		}
	}

} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {
	
	public static void main(String[] args) {
		try {
			BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
			String s = reader.readLine();
				
			int n = Integer.parseInt(s);
			String t = reader.readLine();
			String[] u = t.split(" "); 
			
			int[] m = new int[n];
			
			for (int i = 0; i < n; i++) {
				m[i] = Integer.parseInt(u[i]);
			}
			
			for (int j = n - 1; j > -1; j--) {
				System.out.print(m[j]);
				if (j != 0) {
					System.out.print(" ");
				}
			}
			System.out.println();
			
		} catch (IOException e) {
			e.printStackTrace();
		}
	}

}