#include using namespace std; #define REP(i,n) for(int i=0; i<(int)(n); i++) int main() { ios_base::sync_with_stdio(0); cin.tie(0); int n; cin >> n; int m = 0; cout << 3; m += 3; REP (i, n-2) { cout << " " << 1; ++m; } cout << " " << (1-m)%3+3 << endl; return 0; }