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