#include #include using namespace std; int main() { for (int i = 1; i <= 10; ++i) { int n; cin >> n; if (n != i) { cout << i << endl; return 0; } } }