/** * author: TakeruOkuyama * created: 2020-04-09 14:53:46 **/ #include #define rep(i, n) for(int i = 0; i < (n); i++) using namespace std; using ll = long long; using P = pair; const int MOD = 1000000007; int main(){ vector B(10, 10); rep(i, 9){ cin >> B[i]; } rep(i, 9){ //cout << B[i] << " "; if(B[i] + 2 == B[i + 1]){ cout << B[i] + 1 << endl; }else{ //cout << B[i] + 1 << " "; } } cout << endl; return 0;} /** * g++ code.cpp * ./a.out * shift + ctrl + i **/