#include <stdio.h>
void reverse_array(int *ptr, int n) {
for (int i = 0; i < n / 2; i++) {
int *left = ptr + i;
int *right = ptr + n - 1 - i;
int tmp = *left;
*left = *right;
*right = tmp;
}
}
int main() {
int n;
scanf("%d", &n);
int arr[100];
for (int i = 0; i < n; i++) {
scanf("%d", &arr[i]);
}
reverse_array(arr, n);
for (int i = 0; i < n; i++) {
printf("%d", arr[i]);
if (i < n - 1) {
printf(" ");
}
}
return 0;
}