#include <bits/stdc++.h>
using namespace std;
void solve() {
  long long int n, k, s;
  cin >> n >> k >> s;
  vector<long long int> v;
  if (n == 1000000000) {
    for (long long int i = 0; i < k; i++) {
      v.push_back(s);
    }
    n -= k;
    if (n > 0) {
      for (long long int i = 0; i < n; i++) v.push_back(s + 1);
    }
  } else {
    for (long long int i = 0; i < k; i++) {
      v.push_back(s);
    }
    n -= k;
    if (n > 0) {
      for (long long int i = 0; i < n; i++) v.push_back(s + 1);
    }
  }
  for (long long int x : v) cout << x << " ";
  return;
}
int32_t main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  ;
  solve();
  return 0;
}
