#include int main() { int n; scanf("%d", &n); for (int i = 0; i < n; i++){ if (i < n - 1){ printf("3 "); }else{ printf("1\n"); } } return 0; }