#include<iostream> #include<vector> using namespace std; main() { vector<int> m={10,1}; int i,j=0; while(cin>>i) { m.push_back(i); cout<<m[j++]<<endl; } }