#include <bits/stdc++.h>
using ll = long long;
using ld = long double;
using namespace std;
template <class T>
bool chmax(T &a, const T &b) {
  if (a < b) {
    a = b;
    return 1;
  }
  return 0;
}
template <class T>
bool chmin(T &a, const T &b) {
  if (b < a) {
    a = b;
    return 1;
  }
  return 0;
}
ll mod = 1e9 + 7;
ll MOD = 1e9 + 7;
ll INF = 1e18;
int main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  ll n, k, s;
  cin >> n >> k >> s;
  vector<ll> res;
  for (int i = 0; i < (int)(n); i++) {
    if (i < k) {
      res.push_back(s);
    } else {
      res.push_back(1e18);
    }
  }
  for (int i = 0; i < (int)(n); i++) {
    cout << res[i] << " ";
  }
  cout << endl;
}
