#include <bits/stdc++.h>
using namespace std;
template <class T>
inline bool chmin(T &a, T b) {
  if (a > b) {
    a = b;
    return true;
  }
  return false;
}
template <class T>
inline bool chmax(T &a, T b) {
  if (a < b) {
    a = b;
    return true;
  }
  return false;
}
int main() {
  int n, k, s;
  cin >> n >> k >> s;
  int ans[100000];
  for (int i = 0; i < (int)(100000); ++i) ans[i] = s;
  for (int i = 0; i < (int)(n); ++i) {
    if (i < k) continue;
    ans[i] = s + 1;
  }
  for (int i = 0; i < (int)(n); ++i) {
    cout << ans[i];
    if (i != n - 1) cout << " ";
  }
  cout << endl;
}
