#include using namespace std; using ll = long long; int N, M, K; int main() { cin >> N; for(int i = 0; i < N - 1; i++) { printf("3 "); } puts("1"); }