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