import java.util.Scanner;

public class Main {


    public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();//n?????°????????????
		int vals[] = new int[n];
		for(int cnt = 0; cnt < n; cnt++){//??°????????\?????????
			vals[cnt] = scan.nextInt();
		}
		for(int cnt = n - 1; cnt >= 0; cnt--){//??°??????????????????
			System.out.print(vals[cnt]);
			if(cnt != 0){//?????????????????§?????????
				System.out.print(" ");
			}
		}
		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();//n?????°????????????
		int vals[] = new int[n];
		for(int cnt = 0; cnt < n; cnt++){//??°????????\?????????
			vals[cnt] = scan.nextInt();
		}
		for(int cnt = n - 1; cnt >= 0; cnt--){//??°??????????????????
			System.out.print(vals[cnt]);
			if(cnt != 0){//?????????????????§?????????
				System.out.print(" ");
			}
		}
		System.out.println();
        scan.close();
    }

} Main public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();//n?????°????????????
		int vals[] = new int[n];
		for(int cnt = 0; cnt < n; cnt++){//??°????????\?????????
			vals[cnt] = scan.nextInt();
		}
		for(int cnt = n - 1; cnt >= 0; cnt--){//??°??????????????????
			System.out.print(vals[cnt]);
			if(cnt != 0){//?????????????????§?????????
				System.out.print(" ");
			}
		}
		System.out.println();
        scan.close();
    } main {
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();//n?????°????????????
		int vals[] = new int[n];
		for(int cnt = 0; cnt < n; cnt++){//??°????????\?????????
			vals[cnt] = scan.nextInt();
		}
		for(int cnt = n - 1; cnt >= 0; cnt--){//??°??????????????????
			System.out.print(vals[cnt]);
			if(cnt != 0){//?????????????????§?????????
				System.out.print(" ");
			}
		}
		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 vals[] = new int[n]; vals new int[n] n for(int cnt = 0; cnt < n; cnt++){//??°????????\?????????
			vals[cnt] = scan.nextInt();
		} int cnt = 0; int cnt = 0; cnt 0 cnt < n cnt n cnt++ cnt++ cnt {//??°????????\?????????
			vals[cnt] = scan.nextInt();
		} {//??°????????\?????????
			vals[cnt] = scan.nextInt();
		} vals[cnt] = scan.nextInt() vals[cnt] vals cnt scan.nextInt() scan.nextInt scan for(int cnt = n - 1; cnt >= 0; cnt--){//??°??????????????????
			System.out.print(vals[cnt]);
			if(cnt != 0){//?????????????????§?????????
				System.out.print(" ");
			}
		} int cnt = n - 1; int cnt = n - 1; cnt n - 1 n 1 cnt >= 0 cnt 0 cnt-- cnt-- cnt {//??°??????????????????
			System.out.print(vals[cnt]);
			if(cnt != 0){//?????????????????§?????????
				System.out.print(" ");
			}
		} {//??°??????????????????
			System.out.print(vals[cnt]);
			if(cnt != 0){//?????????????????§?????????
				System.out.print(" ");
			}
		} System.out.print(vals[cnt]) System.out.print System.out System System.out vals[cnt] vals cnt if(cnt != 0){//?????????????????§?????????
				System.out.print(" ");
			} cnt != 0 cnt 0 {//?????????????????§?????????
				System.out.print(" ");
			} System.out.print(" ") System.out.print System.out System System.out " " 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();//n?????°????????????
		int vals[] = new int[n];
		for(int cnt = 0; cnt < n; cnt++){//??°????????\?????????
			vals[cnt] = scan.nextInt();
		}
		for(int cnt = n - 1; cnt >= 0; cnt--){//??°??????????????????
			System.out.print(vals[cnt]);
			if(cnt != 0){//?????????????????§?????????
				System.out.print(" ");
			}
		}
		System.out.println();
        scan.close();
    }

} public class Main {


    public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		int n = scan.nextInt();//n?????°????????????
		int vals[] = new int[n];
		for(int cnt = 0; cnt < n; cnt++){//??°????????\?????????
			vals[cnt] = scan.nextInt();
		}
		for(int cnt = n - 1; cnt >= 0; cnt--){//??°??????????????????
			System.out.print(vals[cnt]);
			if(cnt != 0){//?????????????????§?????????
				System.out.print(" ");
			}
		}
		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();//n?????°????????????
		int vals[] = new int[n];
		for(int cnt = 0; cnt < n; cnt++){//??°????????\?????????
			vals[cnt] = scan.nextInt();
		}
		for(int cnt = n - 1; cnt >= 0; cnt--){//??°??????????????????
			System.out.print(vals[cnt]);
			if(cnt != 0){//?????????????????§?????????
				System.out.print(" ");
			}
		}
		System.out.println();
        scan.close();
    }

}