#include <bits/stdc++.h>
using namespace std;
const bool DEBUG = false;
int main() {
  long long N, S, K;
  cin >> N >> K >> S;
  vector<long long> v(N);
  for (int i = 0; i < N; i++) {
    if (i < K)
      v[i] = S;
    else
      v[i] = S + 1;
  }
  for (int i = 0; i < N; i++) {
    cout << v[i];
    if (i != N - 1)
      cout << " ";
    else
      cout << endl;
  }
}
