/* https://yukicoder.me/problems/no/796 */ #include #include int main(int argc, char *argv[]) { int N; std::cin >> N; std::vector v(N-1, 3); v.emplace_back(1); for (int i = 0; i < N; i++) { if (i == N - 1) { std::cout << v.at(i) << std::endl; } else { std::cout << v.at(i) << " "; } } return 0; }