/* ITP1_6_A */
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()); // The number of elements
    String array[] = br.readLine().split(" "); // Array

    sb.append(array[n-1]);

    for(int i = n-2; i >= 0; i--) sb.append(" " + array[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()); // The number of elements
    String array[] = br.readLine().split(" "); // Array

    sb.append(array[n-1]);

    for(int i = n-2; i >= 0; i--) sb.append(" " + array[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()); // The number of elements
    String array[] = br.readLine().split(" "); // Array

    sb.append(array[n-1]);

    for(int i = n-2; i >= 0; i--) sb.append(" " + array[i]);

    System.out.println(sb);
  } main {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    StringBuilder sb = new StringBuilder();

    int n = Integer.parseInt(br.readLine()); // The number of elements
    String array[] = br.readLine().split(" "); // Array

    sb.append(array[n-1]);

    for(int i = n-2; i >= 0; i--) sb.append(" " + array[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 array[] = br.readLine().split(" "); array br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " sb.append(array[n-1]) sb.append sb array[n-1] array n-1 n 1 for(int i = n-2; i >= 0; i--) sb.append(" " + array[i]); int i = n-2; int i = n-2; i n-2 n 2 i >= 0 i 0 i-- i-- i sb.append(" " + array[i]); sb.append(" " + array[i]) sb.append sb " " + array[i] " " array[i] array i System.out.println(sb) System.out.println System.out System System.out sb String[] args args
/* ITP1_6_A */
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()); // The number of elements
    String array[] = br.readLine().split(" "); // Array

    sb.append(array[n-1]);

    for(int i = n-2; i >= 0; i--) sb.append(" " + array[i]);

    System.out.println(sb);
  }
}