import java.io.*;

class Main{
  public static void main(String[] args) throws IOException{
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    StringBuilder sb = new StringBuilder();

    int n = Integer.parseInt(br.readLine());
    String[] str = br.readLine().split(" ");

    for (int i = n - 1; i >= 0; i--){
      if (i > 0)
        sb.append(str[i] + " ");
      else if (i == 0)
        sb.append(str[i]);  
    }
    System.out.println(sb);
  }
} import java.io.*; io.* java class Main{
  public static void main(String[] args) throws IOException{
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    StringBuilder sb = new StringBuilder();

    int n = Integer.parseInt(br.readLine());
    String[] str = br.readLine().split(" ");

    for (int i = n - 1; i >= 0; i--){
      if (i > 0)
        sb.append(str[i] + " ");
      else if (i == 0)
        sb.append(str[i]);  
    }
    System.out.println(sb);
  }
} Main public static void main(String[] args) throws IOException{
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    StringBuilder sb = new StringBuilder();

    int n = Integer.parseInt(br.readLine());
    String[] str = br.readLine().split(" ");

    for (int i = n - 1; i >= 0; i--){
      if (i > 0)
        sb.append(str[i] + " ");
      else if (i == 0)
        sb.append(str[i]);  
    }
    System.out.println(sb);
  } main {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    StringBuilder sb = new StringBuilder();

    int n = Integer.parseInt(br.readLine());
    String[] str = br.readLine().split(" ");

    for (int i = n - 1; i >= 0; i--){
      if (i > 0)
        sb.append(str[i] + " ");
      else if (i == 0)
        sb.append(str[i]);  
    }
    System.out.println(sb);
  } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) StringBuilder sb = new StringBuilder(); sb new StringBuilder() int n = Integer.parseInt(br.readLine()); n Integer.parseInt(br.readLine()) Integer.parseInt Integer br.readLine() br.readLine br String[] str = br.readLine().split(" "); str br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " for (int i = n - 1; i >= 0; i--){
      if (i > 0)
        sb.append(str[i] + " ");
      else if (i == 0)
        sb.append(str[i]);  
    } int i = n - 1; int i = n - 1; i n - 1 n 1 i >= 0 i 0 i-- i-- i {
      if (i > 0)
        sb.append(str[i] + " ");
      else if (i == 0)
        sb.append(str[i]);  
    } {
      if (i > 0)
        sb.append(str[i] + " ");
      else if (i == 0)
        sb.append(str[i]);  
    } if (i > 0)
        sb.append(str[i] + " ");
      else if (i == 0)
        sb.append(str[i]); i > 0 i 0 sb.append(str[i] + " ") sb.append sb str[i] + " " str[i] str i " " if (i == 0)
        sb.append(str[i]); i == 0 i 0 sb.append(str[i]) sb.append sb str[i] str i System.out.println(sb) System.out.println System.out System System.out sb String[] args args
import java.io.*;

class Main{
  public static void main(String[] args) throws IOException{
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    StringBuilder sb = new StringBuilder();

    int n = Integer.parseInt(br.readLine());
    String[] str = br.readLine().split(" ");

    for (int i = n - 1; i >= 0; i--){
      if (i > 0)
        sb.append(str[i] + " ");
      else if (i == 0)
        sb.append(str[i]);  
    }
    System.out.println(sb);
  }
}