import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;
import java.util.ArrayList;
public class Main {
  public static void main(String[] args) throws IOException {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    int n = Integer.parseInt(br.readLine());
    String[] strArray = br.readLine().split(" ");
    String[] strArray2 = new String[n];
    for(int i = 0;i < n;i++) {
      strArray2[i] = strArray[n-i-1];
    }
    for(int i = 0;i < (n-1);i++) {
      System.out.print(strArray2[i] + " ");
    }
    System.out.println(strArray2[n-1]);
  }
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io import java.io.IOException; IOException java.io import java.util.ArrayList; ArrayList java.util public class Main {
  public static void main(String[] args) throws IOException {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    int n = Integer.parseInt(br.readLine());
    String[] strArray = br.readLine().split(" ");
    String[] strArray2 = new String[n];
    for(int i = 0;i < n;i++) {
      strArray2[i] = strArray[n-i-1];
    }
    for(int i = 0;i < (n-1);i++) {
      System.out.print(strArray2[i] + " ");
    }
    System.out.println(strArray2[n-1]);
  }
} Main public static void main(String[] args) throws IOException {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    int n = Integer.parseInt(br.readLine());
    String[] strArray = br.readLine().split(" ");
    String[] strArray2 = new String[n];
    for(int i = 0;i < n;i++) {
      strArray2[i] = strArray[n-i-1];
    }
    for(int i = 0;i < (n-1);i++) {
      System.out.print(strArray2[i] + " ");
    }
    System.out.println(strArray2[n-1]);
  } main {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    int n = Integer.parseInt(br.readLine());
    String[] strArray = br.readLine().split(" ");
    String[] strArray2 = new String[n];
    for(int i = 0;i < n;i++) {
      strArray2[i] = strArray[n-i-1];
    }
    for(int i = 0;i < (n-1);i++) {
      System.out.print(strArray2[i] + " ");
    }
    System.out.println(strArray2[n-1]);
  } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) int n = Integer.parseInt(br.readLine()); n Integer.parseInt(br.readLine()) Integer.parseInt Integer br.readLine() br.readLine br String[] strArray = br.readLine().split(" "); strArray br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " String[] strArray2 = new String[n]; strArray2 new String[n] n for(int i = 0;i < n;i++) {
      strArray2[i] = strArray[n-i-1];
    } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
      strArray2[i] = strArray[n-i-1];
    } {
      strArray2[i] = strArray[n-i-1];
    } strArray2[i] = strArray[n-i-1] strArray2[i] strArray2 i strArray[n-i-1] strArray n-i-1 n-i-1 n i 1 for(int i = 0;i < (n-1);i++) {
      System.out.print(strArray2[i] + " ");
    } int i = 0; int i = 0; i 0 i < (n-1) i (n-1) n 1 i++ i++ i {
      System.out.print(strArray2[i] + " ");
    } {
      System.out.print(strArray2[i] + " ");
    } System.out.print(strArray2[i] + " ") System.out.print System.out System System.out strArray2[i] + " " strArray2[i] strArray2 i " " System.out.println(strArray2[n-1]) System.out.println System.out System System.out strArray2[n-1] strArray2 n-1 n 1 String[] args args public class Main {
  public static void main(String[] args) throws IOException {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    int n = Integer.parseInt(br.readLine());
    String[] strArray = br.readLine().split(" ");
    String[] strArray2 = new String[n];
    for(int i = 0;i < n;i++) {
      strArray2[i] = strArray[n-i-1];
    }
    for(int i = 0;i < (n-1);i++) {
      System.out.print(strArray2[i] + " ");
    }
    System.out.println(strArray2[n-1]);
  }
} public class Main {
  public static void main(String[] args) throws IOException {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    int n = Integer.parseInt(br.readLine());
    String[] strArray = br.readLine().split(" ");
    String[] strArray2 = new String[n];
    for(int i = 0;i < n;i++) {
      strArray2[i] = strArray[n-i-1];
    }
    for(int i = 0;i < (n-1);i++) {
      System.out.print(strArray2[i] + " ");
    }
    System.out.println(strArray2[n-1]);
  }
} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;
import java.util.ArrayList;
public class Main {
  public static void main(String[] args) throws IOException {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    int n = Integer.parseInt(br.readLine());
    String[] strArray = br.readLine().split(" ");
    String[] strArray2 = new String[n];
    for(int i = 0;i < n;i++) {
      strArray2[i] = strArray[n-i-1];
    }
    for(int i = 0;i < (n-1);i++) {
      System.out.print(strArray2[i] + " ");
    }
    System.out.println(strArray2[n-1]);
  }
}