#include <stdio.h>
#include <malloc.h>
#define maxsize 30
#define NULL 0
#define OK 1
typedef int elemtype;
typedef struct
{
elemtype *elem;
int listsize;
int len;
}seqlist;
int charu(seqlist &L)
{
int i;
L.elem = (int*) malloc (L.len*sizeof(int));
for(i=0;i<L.len;i++)
scanf("%d",&L.elem[i]);
return OK;
}
void main()
{
int i;
seqlist L;
//int *elem=NULL;
scanf("%d",&L.len);
charu(L);
for(i=0;i<L.len;i++)
printf("%d ",L.elem[i]);
printf("\n");
}