#include <bits/stdc++.h>
using namespace std;
template <class Type>
void line(const Type &a) {
  int cnt = 0;
  for (auto &elem : a) {
    if (cnt++) cout << ' ';
    cout << elem;
  }
  cout << endl;
}
int main() {
  int n, k, s;
  cin >> n >> k >> s;
  vector<int> a(n);
  int p;
  for (p = 0; p < k; ++p) {
    a[p] = s;
  }
  if (s == (int)1e9) {
    if (k == 0) {
      for (int i = 0; i < (n); ++i) a[p] = 2;
    } else {
      for (p; p < n; ++p) a[p] = 1;
    }
  } else {
    for (p; p < n; ++p) {
      a[p] = s + 1;
    }
  }
  line(a);
}
