
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {

		Scanner in = new Scanner(System.in);

		int num = in.nextInt();
		int[] array = new int[num];

		for(int cnt = 0; cnt < num; cnt++){

			array[cnt] = in.nextInt();

		}

		for(num = num-1; num >= 0; num--) {

			if(num != 0) {

				System.out.print(array[num] + " ");

			}else {

				System.out.println(array[num]);
			}
		}

	}

} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {

		Scanner in = new Scanner(System.in);

		int num = in.nextInt();
		int[] array = new int[num];

		for(int cnt = 0; cnt < num; cnt++){

			array[cnt] = in.nextInt();

		}

		for(num = num-1; num >= 0; num--) {

			if(num != 0) {

				System.out.print(array[num] + " ");

			}else {

				System.out.println(array[num]);
			}
		}

	}

} Main public static void main(String[] args) {

		Scanner in = new Scanner(System.in);

		int num = in.nextInt();
		int[] array = new int[num];

		for(int cnt = 0; cnt < num; cnt++){

			array[cnt] = in.nextInt();

		}

		for(num = num-1; num >= 0; num--) {

			if(num != 0) {

				System.out.print(array[num] + " ");

			}else {

				System.out.println(array[num]);
			}
		}

	} main {

		Scanner in = new Scanner(System.in);

		int num = in.nextInt();
		int[] array = new int[num];

		for(int cnt = 0; cnt < num; cnt++){

			array[cnt] = in.nextInt();

		}

		for(num = num-1; num >= 0; num--) {

			if(num != 0) {

				System.out.print(array[num] + " ");

			}else {

				System.out.println(array[num]);
			}
		}

	} Scanner in = new Scanner(System.in); in new Scanner(System.in) int num = in.nextInt(); num in.nextInt() in.nextInt in int[] array = new int[num]; array new int[num] num for(int cnt = 0; cnt < num; cnt++){

			array[cnt] = in.nextInt();

		} int cnt = 0; int cnt = 0; cnt 0 cnt < num cnt num cnt++ cnt++ cnt {

			array[cnt] = in.nextInt();

		} {

			array[cnt] = in.nextInt();

		} array[cnt] = in.nextInt() array[cnt] array cnt in.nextInt() in.nextInt in for(num = num-1; num >= 0; num--) {

			if(num != 0) {

				System.out.print(array[num] + " ");

			}else {

				System.out.println(array[num]);
			}
		} num = num-1; num = num-1 num num-1 num 1 num >= 0 num 0 num-- num-- num {

			if(num != 0) {

				System.out.print(array[num] + " ");

			}else {

				System.out.println(array[num]);
			}
		} {

			if(num != 0) {

				System.out.print(array[num] + " ");

			}else {

				System.out.println(array[num]);
			}
		} if(num != 0) {

				System.out.print(array[num] + " ");

			}else {

				System.out.println(array[num]);
			} num != 0 num 0 {

				System.out.print(array[num] + " ");

			} System.out.print(array[num] + " ") System.out.print System.out System System.out array[num] + " " array[num] array num " " {

				System.out.println(array[num]);
			} System.out.println(array[num]) System.out.println System.out System System.out array[num] array num String[] args args public class Main {

	public static void main(String[] args) {

		Scanner in = new Scanner(System.in);

		int num = in.nextInt();
		int[] array = new int[num];

		for(int cnt = 0; cnt < num; cnt++){

			array[cnt] = in.nextInt();

		}

		for(num = num-1; num >= 0; num--) {

			if(num != 0) {

				System.out.print(array[num] + " ");

			}else {

				System.out.println(array[num]);
			}
		}

	}

} public class Main {

	public static void main(String[] args) {

		Scanner in = new Scanner(System.in);

		int num = in.nextInt();
		int[] array = new int[num];

		for(int cnt = 0; cnt < num; cnt++){

			array[cnt] = in.nextInt();

		}

		for(num = num-1; num >= 0; num--) {

			if(num != 0) {

				System.out.print(array[num] + " ");

			}else {

				System.out.println(array[num]);
			}
		}

	}

} Main

import java.util.Scanner;

public class Main {

	public static void main(String[] args) {

		Scanner in = new Scanner(System.in);

		int num = in.nextInt();
		int[] array = new int[num];

		for(int cnt = 0; cnt < num; cnt++){

			array[cnt] = in.nextInt();

		}

		for(num = num-1; num >= 0; num--) {

			if(num != 0) {

				System.out.print(array[num] + " ");

			}else {

				System.out.println(array[num]);
			}
		}

	}

}