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