#include <bits/stdc++.h>
using namespace std;
static const int dx[4] = {0, 1, 0, -1};
static const int dy[4] = {1, 0, -1, 0};
static const char dir[4] = {'u', 'r', 'd', 'l'};
static const long long INF = 1 << 21;
static const long long MOD = 1e9 + 7;
signed main() {
  long long N, K, S;
  cin >> N >> K >> S;
  vector<long long> A(N);
  for (long long i = 0; i < (long long)K; ++i) {
    A[i] = S;
  }
  for (int i = K; i < N; i++) {
    A[i] = S + 1;
  }
  for (long long i = 0; i < (long long)N; ++i) {
    if (i) {
      cout << " ";
    }
    cout << A[i];
  }
  cout << endl;
  return 0;
}
