#include int main(){ using namespace std; unsigned long N; cin >> N; if(N == 4){ cout << "2000000000 "; for(unsigned long i{1}; i <= N; ++i)cout << (i & ~(i - 1)) << " "; cout << "2000000000"; }else{ cout << "2000000000 "; for(unsigned long i{1}; i <= N; ++i)cout << i << " "; cout << "2000000000"; } return 0; }