#include <bits/stdc++.h>
using namespace std;
int keta(int a) {
  int count = 0;
  while (a != 0) {
    a /= 10;
    count++;
  }
  return count;
}
int main() {
  long long int n, k, s;
  cin >> n >> k >> s;
  vector<long long int> a(n);
  for (int i = 0; i < n; i++) {
    if (i < k) {
      a.at(i) = s;
    } else {
      a.at(i) = s + 1;
    }
  }
  for (int i = 0; i < n - 1; i++) {
    cout << a.at(i) << ' ';
  }
  cout << a.at(n - 1) << endl;
  return 0;
}
