import java.util.Scanner;
public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int array_length = sc.nextInt();
    int[] array_to_reverse;
    array_to_reverse = new int[array_length];
    int tmp=0;
    for (int i=0; i < array_length; i++) {
      array_to_reverse[i] = sc.nextInt();
    }
    for (int k=array_length-1; k >= 0; k--) {
      if (k == 0) {
        System.out.println(array_to_reverse[k]);
      } else {
        System.out.printf("%d", array_to_reverse[k]);
        System.out.printf(" ");
      }
    }
  }
}
 import java.util.Scanner; Scanner java.util public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int array_length = sc.nextInt();
    int[] array_to_reverse;
    array_to_reverse = new int[array_length];
    int tmp=0;
    for (int i=0; i < array_length; i++) {
      array_to_reverse[i] = sc.nextInt();
    }
    for (int k=array_length-1; k >= 0; k--) {
      if (k == 0) {
        System.out.println(array_to_reverse[k]);
      } else {
        System.out.printf("%d", array_to_reverse[k]);
        System.out.printf(" ");
      }
    }
  }
} Main public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int array_length = sc.nextInt();
    int[] array_to_reverse;
    array_to_reverse = new int[array_length];
    int tmp=0;
    for (int i=0; i < array_length; i++) {
      array_to_reverse[i] = sc.nextInt();
    }
    for (int k=array_length-1; k >= 0; k--) {
      if (k == 0) {
        System.out.println(array_to_reverse[k]);
      } else {
        System.out.printf("%d", array_to_reverse[k]);
        System.out.printf(" ");
      }
    }
  } main {
    Scanner sc = new Scanner(System.in);
    int array_length = sc.nextInt();
    int[] array_to_reverse;
    array_to_reverse = new int[array_length];
    int tmp=0;
    for (int i=0; i < array_length; i++) {
      array_to_reverse[i] = sc.nextInt();
    }
    for (int k=array_length-1; k >= 0; k--) {
      if (k == 0) {
        System.out.println(array_to_reverse[k]);
      } else {
        System.out.printf("%d", array_to_reverse[k]);
        System.out.printf(" ");
      }
    }
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int array_length = sc.nextInt(); array_length sc.nextInt() sc.nextInt sc int[] array_to_reverse; array_to_reverse array_to_reverse = new int[array_length] array_to_reverse new int[array_length] array_length int tmp=0; tmp 0 for (int i=0; i < array_length; i++) {
      array_to_reverse[i] = sc.nextInt();
    } int i=0; int i=0; i 0 i < array_length i array_length i++ i++ i {
      array_to_reverse[i] = sc.nextInt();
    } {
      array_to_reverse[i] = sc.nextInt();
    } array_to_reverse[i] = sc.nextInt() array_to_reverse[i] array_to_reverse i sc.nextInt() sc.nextInt sc for (int k=array_length-1; k >= 0; k--) {
      if (k == 0) {
        System.out.println(array_to_reverse[k]);
      } else {
        System.out.printf("%d", array_to_reverse[k]);
        System.out.printf(" ");
      }
    } int k=array_length-1; int k=array_length-1; k array_length-1 array_length 1 k >= 0 k 0 k-- k-- k {
      if (k == 0) {
        System.out.println(array_to_reverse[k]);
      } else {
        System.out.printf("%d", array_to_reverse[k]);
        System.out.printf(" ");
      }
    } {
      if (k == 0) {
        System.out.println(array_to_reverse[k]);
      } else {
        System.out.printf("%d", array_to_reverse[k]);
        System.out.printf(" ");
      }
    } if (k == 0) {
        System.out.println(array_to_reverse[k]);
      } else {
        System.out.printf("%d", array_to_reverse[k]);
        System.out.printf(" ");
      } k == 0 k 0 {
        System.out.println(array_to_reverse[k]);
      } System.out.println(array_to_reverse[k]) System.out.println System.out System System.out array_to_reverse[k] array_to_reverse k {
        System.out.printf("%d", array_to_reverse[k]);
        System.out.printf(" ");
      } System.out.printf("%d", array_to_reverse[k]) System.out.printf System.out System System.out "%d" array_to_reverse[k] array_to_reverse k System.out.printf(" ") System.out.printf System.out System System.out " " String[] args args public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int array_length = sc.nextInt();
    int[] array_to_reverse;
    array_to_reverse = new int[array_length];
    int tmp=0;
    for (int i=0; i < array_length; i++) {
      array_to_reverse[i] = sc.nextInt();
    }
    for (int k=array_length-1; k >= 0; k--) {
      if (k == 0) {
        System.out.println(array_to_reverse[k]);
      } else {
        System.out.printf("%d", array_to_reverse[k]);
        System.out.printf(" ");
      }
    }
  }
} public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int array_length = sc.nextInt();
    int[] array_to_reverse;
    array_to_reverse = new int[array_length];
    int tmp=0;
    for (int i=0; i < array_length; i++) {
      array_to_reverse[i] = sc.nextInt();
    }
    for (int k=array_length-1; k >= 0; k--) {
      if (k == 0) {
        System.out.println(array_to_reverse[k]);
      } else {
        System.out.printf("%d", array_to_reverse[k]);
        System.out.printf(" ");
      }
    }
  }
} Main
import java.util.Scanner;
public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int array_length = sc.nextInt();
    int[] array_to_reverse;
    array_to_reverse = new int[array_length];
    int tmp=0;
    for (int i=0; i < array_length; i++) {
      array_to_reverse[i] = sc.nextInt();
    }
    for (int k=array_length-1; k >= 0; k--) {
      if (k == 0) {
        System.out.println(array_to_reverse[k]);
      } else {
        System.out.printf("%d", array_to_reverse[k]);
        System.out.printf(" ");
      }
    }
  }
}

