#include <bits/stdc++.h>
using namespace std;
int main() {
  long N, K, S;
  cin >> N >> K >> S;
  int x = 0;
  vector<long> a(N);
  for (int i = 0; i < K; i++) {
    a[i] = S;
  }
  int high = 1e9, low = 1;
  int p = 0;
  int mid;
  while (high - low > 1) {
    mid = (low + high) / 2;
    if (mid != S) {
      p = S;
      break;
      low = mid;
    }
  }
  for (int i = K; i < N; i++) {
    a[i] = mid;
  }
  for (int i = 0; i < N; i++) {
    if (i != N - 1)
      cout << a[i] << " ";
    else
      cout << a[i] << endl;
  }
}
