#include <bits/stdc++.h>
using namespace std;
using ll = long long;
ll solve() {
  ll N, K, S;
  cin >> N >> K >> S;
  vector<ll> a;
  for (int i = 0; i < N; i++) {
    if (i < K)
      a.push_back(S);
    else
      a.push_back(S + 1);
  }
  for (int i = 0; i < N; i++) {
    cout << (i != 0 ? " " : "") << a[i];
  }
  cout << "\n";
  return 0;
}
int main() {
  solve();
  return 0;
}
