#include <bits/stdc++.h>
using namespace std;
int main() {
  long long N, K, S;
  if (S < 1000000000) {
    for (long long i = 0; i < K; i++) {
      cout << S << endl;
    }
    for (long long i = K; i < N; i++) {
      cout << S + 1 << endl;
    }
  } else {
    for (long long i = 0; i < K; i++) {
      cout << S << endl;
    }
    for (long long i = K; i < N; i++) {
      cout << 1 << endl;
    }
  }
  return 0;
}
