#include <bits/stdc++.h>
using namespace std;
using ll = long long;
const ll INF = 1e9;
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;
}
int main(int argc, char const* argv[]) {
  ll n, k, s;
  cin >> n >> k >> s;
  vector<ll> a(n, INF);
  for (int i = 0; i < (k); i++) a[i] = s;
  for (int i = 0; i < (n); i++) cout << a[i] << " ";
  cout << endl;
  return 0;
}
