#include <stdio.h>
#include <stdlib.h>
#include <stdlib.h>
#define SIZE 20
typedef struct hold
{
char sign[SIZE];
int top;
} HOLD;
int main()
{
HOLD example;
int temp;
int number;
scanf("%d",&number);
for(example.top = 0;example.top < number ;example.top++)
{
scanf("%d",&temp);
example.sign[example.top] = temp;
}
for(example.top = example.top-1;example.top >= 0 ;example.top--)
{
printf("%d ",example.sign[example.top]);
}
}
{
char sign[SIZE];
int top;
} HOLD;
int main()
{
HOLD example;
int temp;
int number;
scanf("%d",&number);
for(example.top = 0;example.top < number ;example.top++)
{
scanf("%d",&temp);
example.sign[example.top] = temp;
}
for(example.top = example.top-1;example.top >= 0 ;example.top--)
{
printf("%d ",example.sign[example.top]);
}
}