#include //cin, cout #include //vector #include //sort,min,max,count #include //string,getline, to_string #include //abs(int) #include //swap, pair using namespace std; int main() { int temp; for (int i = 1; i <= 10; i++) { cin >> temp; if (temp != i) { cout << i << endl; return 0; } } return 0; }