import java.util.Scanner;
 
class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int b[] = new int [n];
 
        for (int i=0;i<n;i++){
          int m = sc.nextInt();
          b[i] = m;
        }
 
        int w;
        for (int h=0;h<(n/2);h++){
          w=b[h];
          b[h]=b[n-1-h];
          b[n-1-h]=w;
        }
 
        for (int j=0;j<n-1;j++){
          System.out.print(b[j] + " ");
        }
        System.out.print(b[n-1]);
        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 n = sc.nextInt();
        int b[] = new int [n];
 
        for (int i=0;i<n;i++){
          int m = sc.nextInt();
          b[i] = m;
        }
 
        int w;
        for (int h=0;h<(n/2);h++){
          w=b[h];
          b[h]=b[n-1-h];
          b[n-1-h]=w;
        }
 
        for (int j=0;j<n-1;j++){
          System.out.print(b[j] + " ");
        }
        System.out.print(b[n-1]);
        System.out.println("");
    }
} Main public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int b[] = new int [n];
 
        for (int i=0;i<n;i++){
          int m = sc.nextInt();
          b[i] = m;
        }
 
        int w;
        for (int h=0;h<(n/2);h++){
          w=b[h];
          b[h]=b[n-1-h];
          b[n-1-h]=w;
        }
 
        for (int j=0;j<n-1;j++){
          System.out.print(b[j] + " ");
        }
        System.out.print(b[n-1]);
        System.out.println("");
    } main {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int b[] = new int [n];
 
        for (int i=0;i<n;i++){
          int m = sc.nextInt();
          b[i] = m;
        }
 
        int w;
        for (int h=0;h<(n/2);h++){
          w=b[h];
          b[h]=b[n-1-h];
          b[n-1-h]=w;
        }
 
        for (int j=0;j<n-1;j++){
          System.out.print(b[j] + " ");
        }
        System.out.print(b[n-1]);
        System.out.println("");
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc int b[] = new int [n]; b new int [n] n for (int i=0;i<n;i++){
          int m = sc.nextInt();
          b[i] = m;
        } int i=0; int i=0; i 0 i<n i n i++ i++ i {
          int m = sc.nextInt();
          b[i] = m;
        } {
          int m = sc.nextInt();
          b[i] = m;
        } int m = sc.nextInt(); m sc.nextInt() sc.nextInt sc b[i] = m b[i] b i m int w; w for (int h=0;h<(n/2);h++){
          w=b[h];
          b[h]=b[n-1-h];
          b[n-1-h]=w;
        } int h=0; int h=0; h 0 h<(n/2) h (n/2) n 2 h++ h++ h {
          w=b[h];
          b[h]=b[n-1-h];
          b[n-1-h]=w;
        } {
          w=b[h];
          b[h]=b[n-1-h];
          b[n-1-h]=w;
        } w=b[h] w b[h] b h b[h]=b[n-1-h] b[h] b h b[n-1-h] b n-1-h n-1-h n 1 h b[n-1-h]=w b[n-1-h] b n-1-h n-1-h n 1 h w for (int j=0;j<n-1;j++){
          System.out.print(b[j] + " ");
        } int j=0; int j=0; j 0 j<n-1 j n-1 n 1 j++ j++ j {
          System.out.print(b[j] + " ");
        } {
          System.out.print(b[j] + " ");
        } System.out.print(b[j] + " ") System.out.print System.out System System.out b[j] + " " b[j] b j " " System.out.print(b[n-1]) System.out.print System.out System System.out b[n-1] b n-1 n 1 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 n = sc.nextInt();
        int b[] = new int [n];
 
        for (int i=0;i<n;i++){
          int m = sc.nextInt();
          b[i] = m;
        }
 
        int w;
        for (int h=0;h<(n/2);h++){
          w=b[h];
          b[h]=b[n-1-h];
          b[n-1-h]=w;
        }
 
        for (int j=0;j<n-1;j++){
          System.out.print(b[j] + " ");
        }
        System.out.print(b[n-1]);
        System.out.println("");
    }
}
