#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
  ll N, K, S;
  cin >> N >> K >> S;
  vector<ll> A(N);
  ll i;
  for (ll(i) = 0; (i) < (K); (i)++) {
    A[i] = S;
  }
  for (ll(i) = 0; (i) < (N - K); (i)++) {
    A[K + i] = S + 1;
  }
  for (ll(i) = 0; (i) < (N); (i)++) cout << A[i] << endl;
  return 0;
}
