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