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

public class Main{
	
	static int[] array;
	
	public static void main(String[] args)throws IOException{
		Main app = new Main();
		InputStreamReader isr = new InputStreamReader(System.in);
		BufferedReader reader = new BufferedReader(isr);
		
		int n = Integer.parseInt(reader.readLine());
		array = new int[n];
		String string = reader.readLine();
		
		for(int i = 0; i < n; i++)
			array[i] = Integer.parseInt(string.split(" ")[i]);
		
		app.reverse(array);
		
		for(int i = 0; i < n; i++){
			if(i != n - 1)
				System.out.print(array[i] + " ");
			else
				System.out.println(array[i]);
		}
		reader.close();
	}
	public void reverse(int[] array){
		int temp;
		for(int i = 0; i < array.length / 2; i++){
			temp = array[i];
			array[i] = array[array.length - 1 - i];
			array[array.length - 1 - i] = temp;
		}
	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main{
	
	static int[] array;
	
	public static void main(String[] args)throws IOException{
		Main app = new Main();
		InputStreamReader isr = new InputStreamReader(System.in);
		BufferedReader reader = new BufferedReader(isr);
		
		int n = Integer.parseInt(reader.readLine());
		array = new int[n];
		String string = reader.readLine();
		
		for(int i = 0; i < n; i++)
			array[i] = Integer.parseInt(string.split(" ")[i]);
		
		app.reverse(array);
		
		for(int i = 0; i < n; i++){
			if(i != n - 1)
				System.out.print(array[i] + " ");
			else
				System.out.println(array[i]);
		}
		reader.close();
	}
	public void reverse(int[] array){
		int temp;
		for(int i = 0; i < array.length / 2; i++){
			temp = array[i];
			array[i] = array[array.length - 1 - i];
			array[array.length - 1 - i] = temp;
		}
	}
} Main static int[] array; array public static void main(String[] args)throws IOException{
		Main app = new Main();
		InputStreamReader isr = new InputStreamReader(System.in);
		BufferedReader reader = new BufferedReader(isr);
		
		int n = Integer.parseInt(reader.readLine());
		array = new int[n];
		String string = reader.readLine();
		
		for(int i = 0; i < n; i++)
			array[i] = Integer.parseInt(string.split(" ")[i]);
		
		app.reverse(array);
		
		for(int i = 0; i < n; i++){
			if(i != n - 1)
				System.out.print(array[i] + " ");
			else
				System.out.println(array[i]);
		}
		reader.close();
	} main {
		Main app = new Main();
		InputStreamReader isr = new InputStreamReader(System.in);
		BufferedReader reader = new BufferedReader(isr);
		
		int n = Integer.parseInt(reader.readLine());
		array = new int[n];
		String string = reader.readLine();
		
		for(int i = 0; i < n; i++)
			array[i] = Integer.parseInt(string.split(" ")[i]);
		
		app.reverse(array);
		
		for(int i = 0; i < n; i++){
			if(i != n - 1)
				System.out.print(array[i] + " ");
			else
				System.out.println(array[i]);
		}
		reader.close();
	} Main app = new Main(); app new Main() InputStreamReader isr = new InputStreamReader(System.in); isr new InputStreamReader(System.in) BufferedReader reader = new BufferedReader(isr); reader new BufferedReader(isr) int n = Integer.parseInt(reader.readLine()); n Integer.parseInt(reader.readLine()) Integer.parseInt Integer reader.readLine() reader.readLine reader array = new int[n] array new int[n] n String string = reader.readLine(); string reader.readLine() reader.readLine reader for(int i = 0; i < n; i++)
			array[i] = Integer.parseInt(string.split(" ")[i]); int i = 0; int i = 0; i 0 i < n i n i++ i++ i array[i] = Integer.parseInt(string.split(" ")[i]); array[i] = Integer.parseInt(string.split(" ")[i]) array[i] array i Integer.parseInt(string.split(" ")[i]) Integer.parseInt Integer string.split(" ")[i] string.split(" ") string.split string " " i app.reverse(array) app.reverse app array for(int i = 0; i < n; i++){
			if(i != n - 1)
				System.out.print(array[i] + " ");
			else
				System.out.println(array[i]);
		} int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
			if(i != n - 1)
				System.out.print(array[i] + " ");
			else
				System.out.println(array[i]);
		} {
			if(i != n - 1)
				System.out.print(array[i] + " ");
			else
				System.out.println(array[i]);
		} if(i != n - 1)
				System.out.print(array[i] + " ");
			else
				System.out.println(array[i]); i != n - 1 i n - 1 n 1 System.out.print(array[i] + " ") System.out.print System.out System System.out array[i] + " " array[i] array i " " System.out.println(array[i]) System.out.println System.out System System.out array[i] array i reader.close() reader.close reader String[] args args public void reverse(int[] array){
		int temp;
		for(int i = 0; i < array.length / 2; i++){
			temp = array[i];
			array[i] = array[array.length - 1 - i];
			array[array.length - 1 - i] = temp;
		}
	} reverse {
		int temp;
		for(int i = 0; i < array.length / 2; i++){
			temp = array[i];
			array[i] = array[array.length - 1 - i];
			array[array.length - 1 - i] = temp;
		}
	} int temp; temp for(int i = 0; i < array.length / 2; i++){
			temp = array[i];
			array[i] = array[array.length - 1 - i];
			array[array.length - 1 - i] = temp;
		} int i = 0; int i = 0; i 0 i < array.length / 2 i array.length / 2 array.length array array.length 2 i++ i++ i {
			temp = array[i];
			array[i] = array[array.length - 1 - i];
			array[array.length - 1 - i] = temp;
		} {
			temp = array[i];
			array[i] = array[array.length - 1 - i];
			array[array.length - 1 - i] = temp;
		} temp = array[i] temp array[i] array i array[i] = array[array.length - 1 - i] array[i] array i array[array.length - 1 - i] array array.length - 1 - i array.length - 1 - i array.length array array.length 1 i array[array.length - 1 - i] = temp array[array.length - 1 - i] array array.length - 1 - i array.length - 1 - i array.length array array.length 1 i temp int[] array array public class Main{
	
	static int[] array;
	
	public static void main(String[] args)throws IOException{
		Main app = new Main();
		InputStreamReader isr = new InputStreamReader(System.in);
		BufferedReader reader = new BufferedReader(isr);
		
		int n = Integer.parseInt(reader.readLine());
		array = new int[n];
		String string = reader.readLine();
		
		for(int i = 0; i < n; i++)
			array[i] = Integer.parseInt(string.split(" ")[i]);
		
		app.reverse(array);
		
		for(int i = 0; i < n; i++){
			if(i != n - 1)
				System.out.print(array[i] + " ");
			else
				System.out.println(array[i]);
		}
		reader.close();
	}
	public void reverse(int[] array){
		int temp;
		for(int i = 0; i < array.length / 2; i++){
			temp = array[i];
			array[i] = array[array.length - 1 - i];
			array[array.length - 1 - i] = temp;
		}
	}
} public class Main{
	
	static int[] array;
	
	public static void main(String[] args)throws IOException{
		Main app = new Main();
		InputStreamReader isr = new InputStreamReader(System.in);
		BufferedReader reader = new BufferedReader(isr);
		
		int n = Integer.parseInt(reader.readLine());
		array = new int[n];
		String string = reader.readLine();
		
		for(int i = 0; i < n; i++)
			array[i] = Integer.parseInt(string.split(" ")[i]);
		
		app.reverse(array);
		
		for(int i = 0; i < n; i++){
			if(i != n - 1)
				System.out.print(array[i] + " ");
			else
				System.out.println(array[i]);
		}
		reader.close();
	}
	public void reverse(int[] array){
		int temp;
		for(int i = 0; i < array.length / 2; i++){
			temp = array[i];
			array[i] = array[array.length - 1 - i];
			array[array.length - 1 - i] = temp;
		}
	}
} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main{
	
	static int[] array;
	
	public static void main(String[] args)throws IOException{
		Main app = new Main();
		InputStreamReader isr = new InputStreamReader(System.in);
		BufferedReader reader = new BufferedReader(isr);
		
		int n = Integer.parseInt(reader.readLine());
		array = new int[n];
		String string = reader.readLine();
		
		for(int i = 0; i < n; i++)
			array[i] = Integer.parseInt(string.split(" ")[i]);
		
		app.reverse(array);
		
		for(int i = 0; i < n; i++){
			if(i != n - 1)
				System.out.print(array[i] + " ");
			else
				System.out.println(array[i]);
		}
		reader.close();
	}
	public void reverse(int[] array){
		int temp;
		for(int i = 0; i < array.length / 2; i++){
			temp = array[i];
			array[i] = array[array.length - 1 - i];
			array[array.length - 1 - i] = temp;
		}
	}
}