#include <bits/stdc++.h>
template <class T>
inline bool chmax(T &a, const T &b) {
  if (a < b) {
    a = b;
    return 1;
  }
  return 0;
}
template <class T>
inline bool chmin(T &a, const T &b) {
  if (b < a) {
    a = b;
    return 1;
  }
  return 0;
}
using namespace std;
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  long long n, k, s;
  cin >> n >> k >> s;
  for (long long i = 0; i < (long long)(k); i++) {
    cout << s << " ";
  }
  for (long long i = 0; i < (long long)(n - k); i++) {
    cout << s + 1 << " ";
  }
  cout << endl;
  return 0;
}
