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