import java.util.Scanner;

class Main{
  public static void main(String args[]){
    Scanner sc = new Scanner(System.in);
    int i,x;
    int [] num = new int[101];
    x = sc.nextInt();
    for(i = 0;i < x;i++){
      num[i] = sc.nextInt();
    }
    while(true){
      i--;
      if(i <= 0){
        System.out.print(num[i]);
        break;
      }
      System.out.print(num[i] + " ");
    }
    System.out.println();
  }
} import java.util.Scanner; Scanner java.util class Main{
  public static void main(String args[]){
    Scanner sc = new Scanner(System.in);
    int i,x;
    int [] num = new int[101];
    x = sc.nextInt();
    for(i = 0;i < x;i++){
      num[i] = sc.nextInt();
    }
    while(true){
      i--;
      if(i <= 0){
        System.out.print(num[i]);
        break;
      }
      System.out.print(num[i] + " ");
    }
    System.out.println();
  }
} Main public static void main(String args[]){
    Scanner sc = new Scanner(System.in);
    int i,x;
    int [] num = new int[101];
    x = sc.nextInt();
    for(i = 0;i < x;i++){
      num[i] = sc.nextInt();
    }
    while(true){
      i--;
      if(i <= 0){
        System.out.print(num[i]);
        break;
      }
      System.out.print(num[i] + " ");
    }
    System.out.println();
  } main {
    Scanner sc = new Scanner(System.in);
    int i,x;
    int [] num = new int[101];
    x = sc.nextInt();
    for(i = 0;i < x;i++){
      num[i] = sc.nextInt();
    }
    while(true){
      i--;
      if(i <= 0){
        System.out.print(num[i]);
        break;
      }
      System.out.print(num[i] + " ");
    }
    System.out.println();
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int i i x; x int [] num = new int[101]; num new int[101] 101 x = sc.nextInt() x sc.nextInt() sc.nextInt sc for(i = 0;i < x;i++){
      num[i] = sc.nextInt();
    } i = 0; i = 0 i 0 i < x i x i++ i++ i {
      num[i] = sc.nextInt();
    } {
      num[i] = sc.nextInt();
    } num[i] = sc.nextInt() num[i] num i sc.nextInt() sc.nextInt sc while(true){
      i--;
      if(i <= 0){
        System.out.print(num[i]);
        break;
      }
      System.out.print(num[i] + " ");
    } true {
      i--;
      if(i <= 0){
        System.out.print(num[i]);
        break;
      }
      System.out.print(num[i] + " ");
    } i-- i if(i <= 0){
        System.out.print(num[i]);
        break;
      } i <= 0 i 0 {
        System.out.print(num[i]);
        break;
      } System.out.print(num[i]) System.out.print System.out System System.out num[i] num i break; System.out.print(num[i] + " ") System.out.print System.out System System.out num[i] + " " num[i] num i " " System.out.println() System.out.println System.out System System.out String args[] args
import java.util.Scanner;

class Main{
  public static void main(String args[]){
    Scanner sc = new Scanner(System.in);
    int i,x;
    int [] num = new int[101];
    x = sc.nextInt();
    for(i = 0;i < x;i++){
      num[i] = sc.nextInt();
    }
    while(true){
      i--;
      if(i <= 0){
        System.out.print(num[i]);
        break;
      }
      System.out.print(num[i] + " ");
    }
    System.out.println();
  }
}