n;main(c){for(;scanf("%d",&c),++n==c||!printf("%d",n););}