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