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