#include<stdio.h>
#include<stdlib.h>
typedef struct Node{
    int data;
    struct Node *next;
}node;
 node *head=NULL,*tail=NULL;
 void create(int num){
     node *newnode=(node*)malloc(1*sizeof(node));
     newnode->data=num;
     newnode->next=NULL;
     if(head==NULL){
     head->newnode=NULL;
     tail->newnode=NULL;
    }
    else{
        tail->next=newnode;
        tail=newnode;
    }
 }
 node *first,*second;
 void deleteval(int val){
     first=head;
     second=head->next;
     if(val==head->data){
         head=head->next;
     }
     else{
         while(second!=NULL){
             if(second->data==val){
                 first->next=second->next;
                 break;
             }
             first=first->next;
             second=second->next;
         }
     }
 }
 int main(){
     int n,v,itr;
     scanf("%d",&n);
     if(n<0){
         printf("Node not found");
         return 0;
     }
     for(itr=0;itr<n;itr++){
         scanf("%d",&v);
         create(v);
     }
     printf("%d ",n);
     return 0;
 }