import java.util.*;

public class Main{
    public static void main(String[] args) {

      Scanner sc = new Scanner(System.in);
      int n = sc.nextInt();

      int[] foo;
      foo = new int[n];
      int T[] = new int[n];

      for(int i=0;i<n;i++){
      T[i] = sc.nextInt();
    }


        for(int i=T.length-1;i>=0;i--){
          if(i == 0){
          System.out.print(T[i]);
        }else{
            System.out.print(T[i]+" ");
          }
        }
        System.out.println("");
    }
}
 import java.util.*; util.* java public class Main{
    public static void main(String[] args) {

      Scanner sc = new Scanner(System.in);
      int n = sc.nextInt();

      int[] foo;
      foo = new int[n];
      int T[] = new int[n];

      for(int i=0;i<n;i++){
      T[i] = sc.nextInt();
    }


        for(int i=T.length-1;i>=0;i--){
          if(i == 0){
          System.out.print(T[i]);
        }else{
            System.out.print(T[i]+" ");
          }
        }
        System.out.println("");
    }
} Main public static void main(String[] args) {

      Scanner sc = new Scanner(System.in);
      int n = sc.nextInt();

      int[] foo;
      foo = new int[n];
      int T[] = new int[n];

      for(int i=0;i<n;i++){
      T[i] = sc.nextInt();
    }


        for(int i=T.length-1;i>=0;i--){
          if(i == 0){
          System.out.print(T[i]);
        }else{
            System.out.print(T[i]+" ");
          }
        }
        System.out.println("");
    } main {

      Scanner sc = new Scanner(System.in);
      int n = sc.nextInt();

      int[] foo;
      foo = new int[n];
      int T[] = new int[n];

      for(int i=0;i<n;i++){
      T[i] = sc.nextInt();
    }


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

      Scanner sc = new Scanner(System.in);
      int n = sc.nextInt();

      int[] foo;
      foo = new int[n];
      int T[] = new int[n];

      for(int i=0;i<n;i++){
      T[i] = sc.nextInt();
    }


        for(int i=T.length-1;i>=0;i--){
          if(i == 0){
          System.out.print(T[i]);
        }else{
            System.out.print(T[i]+" ");
          }
        }
        System.out.println("");
    }
} public class Main{
    public static void main(String[] args) {

      Scanner sc = new Scanner(System.in);
      int n = sc.nextInt();

      int[] foo;
      foo = new int[n];
      int T[] = new int[n];

      for(int i=0;i<n;i++){
      T[i] = sc.nextInt();
    }


        for(int i=T.length-1;i>=0;i--){
          if(i == 0){
          System.out.print(T[i]);
        }else{
            System.out.print(T[i]+" ");
          }
        }
        System.out.println("");
    }
} Main
import java.util.*;

public class Main{
    public static void main(String[] args) {

      Scanner sc = new Scanner(System.in);
      int n = sc.nextInt();

      int[] foo;
      foo = new int[n];
      int T[] = new int[n];

      for(int i=0;i<n;i++){
      T[i] = sc.nextInt();
    }


        for(int i=T.length-1;i>=0;i--){
          if(i == 0){
          System.out.print(T[i]);
        }else{
            System.out.print(T[i]+" ");
          }
        }
        System.out.println("");
    }
}

