#include <bits/stdc++.h>
using namespace std;
template <typename T1, typename T2>
inline void chmin(T1 &a, T2 b) {
  if (a > b) a = b;
}
template <typename T1, typename T2>
inline void chmax(T1 &a, T2 b) {
  if (a < b) a = b;
}
signed main() {
  int n, k, s;
  cin >> n >> k >> s;
  if (k == 0) {
    if (s == 1e9) {
      for (int i = 0; i < (n); i++) cout << 1e9 - 1 << " ";
    } else {
      for (int i = 0; i < (n); i++) cout << s + 1 << " ";
    }
    return 0;
  }
  for (int i = 0; i < (k); i++) {
    cout << s << " ";
  }
  for (int i = 0; i < (n - k); i++) {
    if (s != 1)
      cout << s - 1 << " ";
    else
      cout << 1e9 << " ";
  }
}
