#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using pii = pair<int, int>;
using vi = vector<int>;
using vl = vector<ll>;
template <class T, class U>
bool cmax(T& a, U b) {
  if (a < b) {
    a = b;
    return true;
  } else
    return false;
}
template <class T, class U>
bool cmin(T& a, U b) {
  if (a > b) {
    a = b;
    return true;
  } else
    return false;
}
int main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  ll n, k, s;
  cin >> n >> k >> s;
  for (ll i = 0; i < k; i++) {
    cout << s << " ";
  }
  for (ll i = 0; i < n - k; i++) {
    cout << 0 << " ";
  }
  cout << endl;
}
