import java.util.*;

public class Main {
	public static void main(String[] args) {
		
		Scanner sc = new Scanner(System.in);
		ArrayList<Integer>plane = new ArrayList<>();
		ArrayList<Integer> reverse = new ArrayList<>();
		
		int n = sc.nextInt();
		int i = 0;
		int input;
		
		while(i < n) {
			input = sc.nextInt();
			plane.add(input);
			i++;
		}
		
		i = 0;
		while(i < n) {
			reverse.add(plane.get(n-1-i));
			i++;
		}
		
		for(i = 0; i < n; i++) {
			if(i == n - 1) {
				System.out.printf("%d", reverse.get(i));
			} else {
				System.out.printf("%d ", reverse.get(i));
			}
		}
		System.out.println();
	}
} import java.util.*; util.* java public class Main {
	public static void main(String[] args) {
		
		Scanner sc = new Scanner(System.in);
		ArrayList<Integer>plane = new ArrayList<>();
		ArrayList<Integer> reverse = new ArrayList<>();
		
		int n = sc.nextInt();
		int i = 0;
		int input;
		
		while(i < n) {
			input = sc.nextInt();
			plane.add(input);
			i++;
		}
		
		i = 0;
		while(i < n) {
			reverse.add(plane.get(n-1-i));
			i++;
		}
		
		for(i = 0; i < n; i++) {
			if(i == n - 1) {
				System.out.printf("%d", reverse.get(i));
			} else {
				System.out.printf("%d ", reverse.get(i));
			}
		}
		System.out.println();
	}
} Main public static void main(String[] args) {
		
		Scanner sc = new Scanner(System.in);
		ArrayList<Integer>plane = new ArrayList<>();
		ArrayList<Integer> reverse = new ArrayList<>();
		
		int n = sc.nextInt();
		int i = 0;
		int input;
		
		while(i < n) {
			input = sc.nextInt();
			plane.add(input);
			i++;
		}
		
		i = 0;
		while(i < n) {
			reverse.add(plane.get(n-1-i));
			i++;
		}
		
		for(i = 0; i < n; i++) {
			if(i == n - 1) {
				System.out.printf("%d", reverse.get(i));
			} else {
				System.out.printf("%d ", reverse.get(i));
			}
		}
		System.out.println();
	} main {
		
		Scanner sc = new Scanner(System.in);
		ArrayList<Integer>plane = new ArrayList<>();
		ArrayList<Integer> reverse = new ArrayList<>();
		
		int n = sc.nextInt();
		int i = 0;
		int input;
		
		while(i < n) {
			input = sc.nextInt();
			plane.add(input);
			i++;
		}
		
		i = 0;
		while(i < n) {
			reverse.add(plane.get(n-1-i));
			i++;
		}
		
		for(i = 0; i < n; i++) {
			if(i == n - 1) {
				System.out.printf("%d", reverse.get(i));
			} else {
				System.out.printf("%d ", reverse.get(i));
			}
		}
		System.out.println();
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) ArrayList<Integer>plane = new ArrayList<>(); plane new ArrayList<>() ArrayList<Integer> reverse = new ArrayList<>(); reverse new ArrayList<>() int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc int i = 0; i 0 int input; input while(i < n) {
			input = sc.nextInt();
			plane.add(input);
			i++;
		} i < n i n {
			input = sc.nextInt();
			plane.add(input);
			i++;
		} input = sc.nextInt() input sc.nextInt() sc.nextInt sc plane.add(input) plane.add plane input i++ i i = 0 i 0 while(i < n) {
			reverse.add(plane.get(n-1-i));
			i++;
		} i < n i n {
			reverse.add(plane.get(n-1-i));
			i++;
		} reverse.add(plane.get(n-1-i)) reverse.add reverse plane.get(n-1-i) plane.get plane n-1-i n-1-i n 1 i i++ i for(i = 0; i < n; i++) {
			if(i == n - 1) {
				System.out.printf("%d", reverse.get(i));
			} else {
				System.out.printf("%d ", reverse.get(i));
			}
		} i = 0; i = 0 i 0 i < n i n i++ i++ i {
			if(i == n - 1) {
				System.out.printf("%d", reverse.get(i));
			} else {
				System.out.printf("%d ", reverse.get(i));
			}
		} {
			if(i == n - 1) {
				System.out.printf("%d", reverse.get(i));
			} else {
				System.out.printf("%d ", reverse.get(i));
			}
		} if(i == n - 1) {
				System.out.printf("%d", reverse.get(i));
			} else {
				System.out.printf("%d ", reverse.get(i));
			} i == n - 1 i n - 1 n 1 {
				System.out.printf("%d", reverse.get(i));
			} System.out.printf("%d", reverse.get(i)) System.out.printf System.out System System.out "%d" reverse.get(i) reverse.get reverse i {
				System.out.printf("%d ", reverse.get(i));
			} System.out.printf("%d ", reverse.get(i)) System.out.printf System.out System System.out "%d " reverse.get(i) reverse.get reverse i System.out.println() System.out.println System.out System System.out String[] args args public class Main {
	public static void main(String[] args) {
		
		Scanner sc = new Scanner(System.in);
		ArrayList<Integer>plane = new ArrayList<>();
		ArrayList<Integer> reverse = new ArrayList<>();
		
		int n = sc.nextInt();
		int i = 0;
		int input;
		
		while(i < n) {
			input = sc.nextInt();
			plane.add(input);
			i++;
		}
		
		i = 0;
		while(i < n) {
			reverse.add(plane.get(n-1-i));
			i++;
		}
		
		for(i = 0; i < n; i++) {
			if(i == n - 1) {
				System.out.printf("%d", reverse.get(i));
			} else {
				System.out.printf("%d ", reverse.get(i));
			}
		}
		System.out.println();
	}
} public class Main {
	public static void main(String[] args) {
		
		Scanner sc = new Scanner(System.in);
		ArrayList<Integer>plane = new ArrayList<>();
		ArrayList<Integer> reverse = new ArrayList<>();
		
		int n = sc.nextInt();
		int i = 0;
		int input;
		
		while(i < n) {
			input = sc.nextInt();
			plane.add(input);
			i++;
		}
		
		i = 0;
		while(i < n) {
			reverse.add(plane.get(n-1-i));
			i++;
		}
		
		for(i = 0; i < n; i++) {
			if(i == n - 1) {
				System.out.printf("%d", reverse.get(i));
			} else {
				System.out.printf("%d ", reverse.get(i));
			}
		}
		System.out.println();
	}
} Main
import java.util.*;

public class Main {
	public static void main(String[] args) {
		
		Scanner sc = new Scanner(System.in);
		ArrayList<Integer>plane = new ArrayList<>();
		ArrayList<Integer> reverse = new ArrayList<>();
		
		int n = sc.nextInt();
		int i = 0;
		int input;
		
		while(i < n) {
			input = sc.nextInt();
			plane.add(input);
			i++;
		}
		
		i = 0;
		while(i < n) {
			reverse.add(plane.get(n-1-i));
			i++;
		}
		
		for(i = 0; i < n; i++) {
			if(i == n - 1) {
				System.out.printf("%d", reverse.get(i));
			} else {
				System.out.printf("%d ", reverse.get(i));
			}
		}
		System.out.println();
	}
}