#include <bits/stdc++.h>
using namespace std;
signed main(void) {
  int n, m, k;
  long long s;
  cin >> n >> k >> s;
  vector<long long> v;
  for (int i = 0; i < (k); i++) {
    v.push_back(s);
  }
  for (int i = 0; i < (n - k); i++) {
    v.push_back(s + 1);
  }
  for (int i = 0; i < (v.size()); i++)
    printf("%d%c", v[i], i == v.size() - 1 ? ' ' : '\n');
  return 0;
}
