#include<stdio.h>
#include<stdlib.h>
struct node{
    int data;
    struct node *next;
};
struct node *head=NULL;
struct node *temp;


void create(){
   struct node *newnode=(struct node*)malloc(sizeof(struct node));
   if(head==NULL){
       head=newnode;
   }
   else{
       temp=head;
       while(temp->next!=NULL){
           temp=temp->next;
       }
       temp->next=newnode;
   }
}

void display(int data){
    temp=head;
    while(temp->next!=NULL){
        printf("%d",temp->data);
        temp=temp->next;
    }
}

int main(){
    int data,n,i;
    
    if(!scanf("%d",&n))
    {
        printf("Invalid input");
        return 0;
        
    }
    if(n<0)
    {
        printf("Invalid input");
        return 0;
    }
    for(i=0;i<n;i++){
    scanf("%d",&data);
    printf("%d",&data);
    }
    display(data);
    return 0;
}