// #define _GLIBCXX_DEBUG #include using namespace std; #define rep(i, n) for (int i = 0; i < (int)(n); ++i) int main() { // Input set st = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}; rep(i, 9) { int B; cin >> B; st.erase(B); } // Output cout << *st.begin() << endl; }