#include using namespace std; int main() { int N, X; cin >> N >> X; if (1 == X) { if (N % 2) { for (int i = 0; i < N; ++i) cout << 1 << endl; } else { cout << 2 << endl << 3 << endl; for (int i = 2; i < N; ++i) cout << 1 << endl; } } else { if (N % 2) cout << X; else { if (X % 2) cout << X - 1; else cout << 1 + X; } cout << endl; for (int i = 1; i < N; ++i) cout << 1 << endl; } }