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