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 i = 0; i < n; i++) {
			a[i] = scan.nextInt();
		}

		for(int i = a.length - 1; i >= 0; i--) {
			if(i != a.length - 1) {
				System.out.printf(" ");
			}
			System.out.printf("%d", a[i]);
		}
		System.out.println("");

		scan.close();
	}
} 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 i = 0; i < n; i++) {
			a[i] = scan.nextInt();
		}

		for(int i = a.length - 1; i >= 0; i--) {
			if(i != a.length - 1) {
				System.out.printf(" ");
			}
			System.out.printf("%d", a[i]);
		}
		System.out.println("");

		scan.close();
	}
} Main public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int[] a = new int[n];

		for(int i = 0; i < n; i++) {
			a[i] = scan.nextInt();
		}

		for(int i = a.length - 1; i >= 0; i--) {
			if(i != a.length - 1) {
				System.out.printf(" ");
			}
			System.out.printf("%d", a[i]);
		}
		System.out.println("");

		scan.close();
	} main {
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();
		int[] a = new int[n];

		for(int i = 0; i < n; i++) {
			a[i] = scan.nextInt();
		}

		for(int i = a.length - 1; i >= 0; i--) {
			if(i != a.length - 1) {
				System.out.printf(" ");
			}
			System.out.printf("%d", a[i]);
		}
		System.out.println("");

		scan.close();
	} 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 i = 0; i < n; i++) {
			a[i] = scan.nextInt();
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
			a[i] = scan.nextInt();
		} {
			a[i] = scan.nextInt();
		} a[i] = scan.nextInt() a[i] a i scan.nextInt() scan.nextInt scan for(int i = a.length - 1; i >= 0; i--) {
			if(i != a.length - 1) {
				System.out.printf(" ");
			}
			System.out.printf("%d", a[i]);
		} int i = a.length - 1; int i = a.length - 1; i a.length - 1 a.length a a.length 1 i >= 0 i 0 i-- i-- i {
			if(i != a.length - 1) {
				System.out.printf(" ");
			}
			System.out.printf("%d", a[i]);
		} {
			if(i != a.length - 1) {
				System.out.printf(" ");
			}
			System.out.printf("%d", a[i]);
		} if(i != a.length - 1) {
				System.out.printf(" ");
			} i != a.length - 1 i a.length - 1 a.length a a.length 1 {
				System.out.printf(" ");
			} System.out.printf(" ") System.out.printf System.out System System.out " " System.out.printf("%d", a[i]) System.out.printf System.out System System.out "%d" a[i] a i System.out.println("") System.out.println System.out System System.out "" scan.close() scan.close scan 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 i = 0; i < n; i++) {
			a[i] = scan.nextInt();
		}

		for(int i = a.length - 1; i >= 0; i--) {
			if(i != a.length - 1) {
				System.out.printf(" ");
			}
			System.out.printf("%d", a[i]);
		}
		System.out.println("");

		scan.close();
	}
} 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 i = 0; i < n; i++) {
			a[i] = scan.nextInt();
		}

		for(int i = a.length - 1; i >= 0; i--) {
			if(i != a.length - 1) {
				System.out.printf(" ");
			}
			System.out.printf("%d", a[i]);
		}
		System.out.println("");

		scan.close();
	}
} 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 i = 0; i < n; i++) {
			a[i] = scan.nextInt();
		}

		for(int i = a.length - 1; i >= 0; i--) {
			if(i != a.length - 1) {
				System.out.printf(" ");
			}
			System.out.printf("%d", a[i]);
		}
		System.out.println("");

		scan.close();
	}
}
