import java.util.Scanner;
import java.lang.StringBuilder;
public class Main {
	public static void main(String[] args) throws Exception{
		Scanner sc = new Scanner(System.in);
		String str=sc.nextLine();
		str=sc.nextLine();
		StringBuilder b = new StringBuilder();
		String[] s=str.split(" ");
		for(int i=(s.length-1);i>=0;i--){
			b.append(s[i]+" ");
		}
		b.deleteCharAt(b.lastIndexOf(" "));
		System.out.println(b);
	}
} import java.util.Scanner; Scanner java.util import java.lang.StringBuilder; StringBuilder java.lang public class Main {
	public static void main(String[] args) throws Exception{
		Scanner sc = new Scanner(System.in);
		String str=sc.nextLine();
		str=sc.nextLine();
		StringBuilder b = new StringBuilder();
		String[] s=str.split(" ");
		for(int i=(s.length-1);i>=0;i--){
			b.append(s[i]+" ");
		}
		b.deleteCharAt(b.lastIndexOf(" "));
		System.out.println(b);
	}
} Main public static void main(String[] args) throws Exception{
		Scanner sc = new Scanner(System.in);
		String str=sc.nextLine();
		str=sc.nextLine();
		StringBuilder b = new StringBuilder();
		String[] s=str.split(" ");
		for(int i=(s.length-1);i>=0;i--){
			b.append(s[i]+" ");
		}
		b.deleteCharAt(b.lastIndexOf(" "));
		System.out.println(b);
	} main {
		Scanner sc = new Scanner(System.in);
		String str=sc.nextLine();
		str=sc.nextLine();
		StringBuilder b = new StringBuilder();
		String[] s=str.split(" ");
		for(int i=(s.length-1);i>=0;i--){
			b.append(s[i]+" ");
		}
		b.deleteCharAt(b.lastIndexOf(" "));
		System.out.println(b);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String str=sc.nextLine(); str sc.nextLine() sc.nextLine sc str=sc.nextLine() str sc.nextLine() sc.nextLine sc StringBuilder b = new StringBuilder(); b new StringBuilder() String[] s=str.split(" "); s str.split(" ") str.split str " " for(int i=(s.length-1);i>=0;i--){
			b.append(s[i]+" ");
		} int i=(s.length-1); int i=(s.length-1); i (s.length-1) s.length s s.length 1 i>=0 i 0 i-- i-- i {
			b.append(s[i]+" ");
		} {
			b.append(s[i]+" ");
		} b.append(s[i]+" ") b.append b s[i]+" " s[i] s i " " b.deleteCharAt(b.lastIndexOf(" ")) b.deleteCharAt b b.lastIndexOf(" ") b.lastIndexOf b " " System.out.println(b) System.out.println System.out System System.out b String[] args args public class Main {
	public static void main(String[] args) throws Exception{
		Scanner sc = new Scanner(System.in);
		String str=sc.nextLine();
		str=sc.nextLine();
		StringBuilder b = new StringBuilder();
		String[] s=str.split(" ");
		for(int i=(s.length-1);i>=0;i--){
			b.append(s[i]+" ");
		}
		b.deleteCharAt(b.lastIndexOf(" "));
		System.out.println(b);
	}
} public class Main {
	public static void main(String[] args) throws Exception{
		Scanner sc = new Scanner(System.in);
		String str=sc.nextLine();
		str=sc.nextLine();
		StringBuilder b = new StringBuilder();
		String[] s=str.split(" ");
		for(int i=(s.length-1);i>=0;i--){
			b.append(s[i]+" ");
		}
		b.deleteCharAt(b.lastIndexOf(" "));
		System.out.println(b);
	}
} Main
import java.util.Scanner;
import java.lang.StringBuilder;
public class Main {
	public static void main(String[] args) throws Exception{
		Scanner sc = new Scanner(System.in);
		String str=sc.nextLine();
		str=sc.nextLine();
		StringBuilder b = new StringBuilder();
		String[] s=str.split(" ");
		for(int i=(s.length-1);i>=0;i--){
			b.append(s[i]+" ");
		}
		b.deleteCharAt(b.lastIndexOf(" "));
		System.out.println(b);
	}
}