import java.util.ArrayList;
import java.util.Collections;
import java.util.Scanner;

/**
 * Created 2017/06/10.
 */
public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);

    int n = sc.nextInt();
    ArrayList<Integer> num = new ArrayList<>();
    for (int i = 0; i < n; i++) {
      int input = sc.nextInt();
      num.add(input);
    }
    Collections.reverse(num);

    //System.out.println(num);
    
    for (int i = 0; i < num.size(); i++) {
      if (i == num.size() - 1) {
        System.out.println(num.get(i));
      } else {
        System.out.print(num.get(i));
        System.out.print(" ");
      }
    }
  }
} import java.util.ArrayList; ArrayList java.util import java.util.Collections; Collections java.util import java.util.Scanner; Scanner java.util public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);

    int n = sc.nextInt();
    ArrayList<Integer> num = new ArrayList<>();
    for (int i = 0; i < n; i++) {
      int input = sc.nextInt();
      num.add(input);
    }
    Collections.reverse(num);

    //System.out.println(num);
    
    for (int i = 0; i < num.size(); i++) {
      if (i == num.size() - 1) {
        System.out.println(num.get(i));
      } else {
        System.out.print(num.get(i));
        System.out.print(" ");
      }
    }
  }
} Main public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);

    int n = sc.nextInt();
    ArrayList<Integer> num = new ArrayList<>();
    for (int i = 0; i < n; i++) {
      int input = sc.nextInt();
      num.add(input);
    }
    Collections.reverse(num);

    //System.out.println(num);
    
    for (int i = 0; i < num.size(); i++) {
      if (i == num.size() - 1) {
        System.out.println(num.get(i));
      } else {
        System.out.print(num.get(i));
        System.out.print(" ");
      }
    }
  } main {
    Scanner sc = new Scanner(System.in);

    int n = sc.nextInt();
    ArrayList<Integer> num = new ArrayList<>();
    for (int i = 0; i < n; i++) {
      int input = sc.nextInt();
      num.add(input);
    }
    Collections.reverse(num);

    //System.out.println(num);
    
    for (int i = 0; i < num.size(); i++) {
      if (i == num.size() - 1) {
        System.out.println(num.get(i));
      } else {
        System.out.print(num.get(i));
        System.out.print(" ");
      }
    }
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc ArrayList<Integer> num = new ArrayList<>(); num new ArrayList<>() for (int i = 0; i < n; i++) {
      int input = sc.nextInt();
      num.add(input);
    } int i = 0; int i = 0; i 0 i < n i n i++ i++ i {
      int input = sc.nextInt();
      num.add(input);
    } {
      int input = sc.nextInt();
      num.add(input);
    } int input = sc.nextInt(); input sc.nextInt() sc.nextInt sc num.add(input) num.add num input Collections.reverse(num) Collections.reverse Collections num for (int i = 0; i < num.size(); i++) {
      if (i == num.size() - 1) {
        System.out.println(num.get(i));
      } else {
        System.out.print(num.get(i));
        System.out.print(" ");
      }
    } int i = 0; int i = 0; i 0 i < num.size() i num.size() num.size num i++ i++ i {
      if (i == num.size() - 1) {
        System.out.println(num.get(i));
      } else {
        System.out.print(num.get(i));
        System.out.print(" ");
      }
    } {
      if (i == num.size() - 1) {
        System.out.println(num.get(i));
      } else {
        System.out.print(num.get(i));
        System.out.print(" ");
      }
    } if (i == num.size() - 1) {
        System.out.println(num.get(i));
      } else {
        System.out.print(num.get(i));
        System.out.print(" ");
      } i == num.size() - 1 i num.size() - 1 num.size() num.size num 1 {
        System.out.println(num.get(i));
      } System.out.println(num.get(i)) System.out.println System.out System System.out num.get(i) num.get num i {
        System.out.print(num.get(i));
        System.out.print(" ");
      } System.out.print(num.get(i)) System.out.print System.out System System.out num.get(i) num.get num i System.out.print(" ") System.out.print 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();
    ArrayList<Integer> num = new ArrayList<>();
    for (int i = 0; i < n; i++) {
      int input = sc.nextInt();
      num.add(input);
    }
    Collections.reverse(num);

    //System.out.println(num);
    
    for (int i = 0; i < num.size(); i++) {
      if (i == num.size() - 1) {
        System.out.println(num.get(i));
      } else {
        System.out.print(num.get(i));
        System.out.print(" ");
      }
    }
  }
} public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);

    int n = sc.nextInt();
    ArrayList<Integer> num = new ArrayList<>();
    for (int i = 0; i < n; i++) {
      int input = sc.nextInt();
      num.add(input);
    }
    Collections.reverse(num);

    //System.out.println(num);
    
    for (int i = 0; i < num.size(); i++) {
      if (i == num.size() - 1) {
        System.out.println(num.get(i));
      } else {
        System.out.print(num.get(i));
        System.out.print(" ");
      }
    }
  }
} Main
import java.util.ArrayList;
import java.util.Collections;
import java.util.Scanner;

/**
 * Created 2017/06/10.
 */
public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);

    int n = sc.nextInt();
    ArrayList<Integer> num = new ArrayList<>();
    for (int i = 0; i < n; i++) {
      int input = sc.nextInt();
      num.add(input);
    }
    Collections.reverse(num);

    //System.out.println(num);
    
    for (int i = 0; i < num.size(); i++) {
      if (i == num.size() - 1) {
        System.out.println(num.get(i));
      } else {
        System.out.print(num.get(i));
        System.out.print(" ");
      }
    }
  }
}