import java.util.Scanner;


public class Main {
	public static void main(String[] args)
	{
		Scanner scanner = new Scanner(System.in);
		int n = scanner.nextInt();
		
		int[] a = new int[n];
		
		for(int i=0; i<n; i++)
		{
			a[i] = scanner.nextInt();
		}
		
		for(int i=0; i<n/2; i++)
		{
			int buf = a[i];
			a[i] = a[n-i-1] ;
			a[n-i-1]  = buf;
		}
		
		for(int i=0; i<n; i++)
		{
			System.out.print(a[i]+(i==n-1?"\n":" "));
		}
		
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args)
	{
		Scanner scanner = new Scanner(System.in);
		int n = scanner.nextInt();
		
		int[] a = new int[n];
		
		for(int i=0; i<n; i++)
		{
			a[i] = scanner.nextInt();
		}
		
		for(int i=0; i<n/2; i++)
		{
			int buf = a[i];
			a[i] = a[n-i-1] ;
			a[n-i-1]  = buf;
		}
		
		for(int i=0; i<n; i++)
		{
			System.out.print(a[i]+(i==n-1?"\n":" "));
		}
		
	}
} Main public static void main(String[] args)
	{
		Scanner scanner = new Scanner(System.in);
		int n = scanner.nextInt();
		
		int[] a = new int[n];
		
		for(int i=0; i<n; i++)
		{
			a[i] = scanner.nextInt();
		}
		
		for(int i=0; i<n/2; i++)
		{
			int buf = a[i];
			a[i] = a[n-i-1] ;
			a[n-i-1]  = buf;
		}
		
		for(int i=0; i<n; i++)
		{
			System.out.print(a[i]+(i==n-1?"\n":" "));
		}
		
	} main {
		Scanner scanner = new Scanner(System.in);
		int n = scanner.nextInt();
		
		int[] a = new int[n];
		
		for(int i=0; i<n; i++)
		{
			a[i] = scanner.nextInt();
		}
		
		for(int i=0; i<n/2; i++)
		{
			int buf = a[i];
			a[i] = a[n-i-1] ;
			a[n-i-1]  = buf;
		}
		
		for(int i=0; i<n; i++)
		{
			System.out.print(a[i]+(i==n-1?"\n":" "));
		}
		
	} Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int n = scanner.nextInt(); n scanner.nextInt() scanner.nextInt scanner int[] a = new int[n]; a new int[n] n for(int i=0; i<n; i++)
		{
			a[i] = scanner.nextInt();
		} int i=0; int i=0; i 0 i<n i n i++ i++ i {
			a[i] = scanner.nextInt();
		} {
			a[i] = scanner.nextInt();
		} a[i] = scanner.nextInt() a[i] a i scanner.nextInt() scanner.nextInt scanner for(int i=0; i<n/2; i++)
		{
			int buf = a[i];
			a[i] = a[n-i-1] ;
			a[n-i-1]  = buf;
		} int i=0; int i=0; i 0 i<n/2 i n/2 n 2 i++ i++ i {
			int buf = a[i];
			a[i] = a[n-i-1] ;
			a[n-i-1]  = buf;
		} {
			int buf = a[i];
			a[i] = a[n-i-1] ;
			a[n-i-1]  = buf;
		} int buf = a[i]; buf a[i] a i a[i] = a[n-i-1] a[i] a i a[n-i-1] a n-i-1 n-i-1 n i 1 a[n-i-1]  = buf a[n-i-1] a n-i-1 n-i-1 n i 1 buf for(int i=0; i<n; i++)
		{
			System.out.print(a[i]+(i==n-1?"\n":" "));
		} int i=0; int i=0; i 0 i<n i n i++ i++ i {
			System.out.print(a[i]+(i==n-1?"\n":" "));
		} {
			System.out.print(a[i]+(i==n-1?"\n":" "));
		} System.out.print(a[i]+(i==n-1?"\n":" ")) System.out.print System.out System System.out a[i]+(i==n-1?"\n":" ") a[i] a i (i==n-1?"\n":" ") i==n-1 i n-1 n 1 "\n" " " String[] args args public class Main {
	public static void main(String[] args)
	{
		Scanner scanner = new Scanner(System.in);
		int n = scanner.nextInt();
		
		int[] a = new int[n];
		
		for(int i=0; i<n; i++)
		{
			a[i] = scanner.nextInt();
		}
		
		for(int i=0; i<n/2; i++)
		{
			int buf = a[i];
			a[i] = a[n-i-1] ;
			a[n-i-1]  = buf;
		}
		
		for(int i=0; i<n; i++)
		{
			System.out.print(a[i]+(i==n-1?"\n":" "));
		}
		
	}
} public class Main {
	public static void main(String[] args)
	{
		Scanner scanner = new Scanner(System.in);
		int n = scanner.nextInt();
		
		int[] a = new int[n];
		
		for(int i=0; i<n; i++)
		{
			a[i] = scanner.nextInt();
		}
		
		for(int i=0; i<n/2; i++)
		{
			int buf = a[i];
			a[i] = a[n-i-1] ;
			a[n-i-1]  = buf;
		}
		
		for(int i=0; i<n; i++)
		{
			System.out.print(a[i]+(i==n-1?"\n":" "));
		}
		
	}
} Main
import java.util.Scanner;


public class Main {
	public static void main(String[] args)
	{
		Scanner scanner = new Scanner(System.in);
		int n = scanner.nextInt();
		
		int[] a = new int[n];
		
		for(int i=0; i<n; i++)
		{
			a[i] = scanner.nextInt();
		}
		
		for(int i=0; i<n/2; i++)
		{
			int buf = a[i];
			a[i] = a[n-i-1] ;
			a[n-i-1]  = buf;
		}
		
		for(int i=0; i<n; i++)
		{
			System.out.print(a[i]+(i==n-1?"\n":" "));
		}
		
	}
}