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];
    int i;
    for(i=0; i<n;i++){
      a[i] = scanner.nextInt();
    }

    for(; i>0; i--){
                System.out.print(a[i-1]);
                if(i-1 != 0) System.out.print(" ");
                else System.out.println();
  }
}
} 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];
    int i;
    for(i=0; i<n;i++){
      a[i] = scanner.nextInt();
    }

    for(; i>0; i--){
                System.out.print(a[i-1]);
                if(i-1 != 0) System.out.print(" ");
                else System.out.println();
  }
}
} Main public static void main(String[] args)
  {
    Scanner scanner = new Scanner(System.in);
    int n = scanner.nextInt();
    int[] a = new int[n];
    int i;
    for(i=0; i<n;i++){
      a[i] = scanner.nextInt();
    }

    for(; i>0; i--){
                System.out.print(a[i-1]);
                if(i-1 != 0) System.out.print(" ");
                else System.out.println();
  }
} main {
    Scanner scanner = new Scanner(System.in);
    int n = scanner.nextInt();
    int[] a = new int[n];
    int i;
    for(i=0; i<n;i++){
      a[i] = scanner.nextInt();
    }

    for(; i>0; i--){
                System.out.print(a[i-1]);
                if(i-1 != 0) System.out.print(" ");
                else System.out.println();
  }
} 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 int i; i for(i=0; i<n;i++){
      a[i] = scanner.nextInt();
    } i=0; 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(; i>0; i--){
                System.out.print(a[i-1]);
                if(i-1 != 0) System.out.print(" ");
                else System.out.println();
  } ; i>0 i 0 i-- i-- i {
                System.out.print(a[i-1]);
                if(i-1 != 0) System.out.print(" ");
                else System.out.println();
  } {
                System.out.print(a[i-1]);
                if(i-1 != 0) System.out.print(" ");
                else System.out.println();
  } System.out.print(a[i-1]) System.out.print System.out System System.out a[i-1] a i-1 i 1 if(i-1 != 0) System.out.print(" ");
                else System.out.println(); i-1 != 0 i-1 i 1 0 System.out.print(" ") System.out.print System.out System System.out " " System.out.println() System.out.println System.out System System.out 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];
    int i;
    for(i=0; i<n;i++){
      a[i] = scanner.nextInt();
    }

    for(; i>0; i--){
                System.out.print(a[i-1]);
                if(i-1 != 0) System.out.print(" ");
                else System.out.println();
  }
}
} public class Main{
  public static void main(String[] args)
  {
    Scanner scanner = new Scanner(System.in);
    int n = scanner.nextInt();
    int[] a = new int[n];
    int i;
    for(i=0; i<n;i++){
      a[i] = scanner.nextInt();
    }

    for(; i>0; i--){
                System.out.print(a[i-1]);
                if(i-1 != 0) System.out.print(" ");
                else System.out.println();
  }
}
} 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];
    int i;
    for(i=0; i<n;i++){
      a[i] = scanner.nextInt();
    }

    for(; i>0; i--){
                System.out.print(a[i-1]);
                if(i-1 != 0) System.out.print(" ");
                else System.out.println();
  }
}
}