#define rep(i,n) for(int i=0;i<(int)(n);i++) #define ALL(v) v.begin(),v.end() typedef long long ll; #include using namespace std; int main(){ int n; cin>>n; rep(i,n+2){ if(i) cout<<" "; if(i==0 || i==n+1) cout<<2000000000; else if(i%2==1) cout<<2; else cout<<4; } return 0; }