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