#include int main(void){ int i,inp; for(i=1;i<=10;i++){ scanf("%d ",&inp); if(i!=inp){printf("%d",i);return 0;} } return 0; }