#include using namespace std; int main() { vector V(11); for (int i = 0, b; i < 9 and cin >> b; i++) V.at(b)++; for (int i = 1; i < 11; i++) if (!(V.at(i))) cout << i << "\n"; }