#include <bits/stdc++.h>
using namespace std;
int main() {
  long long N;
  long long K;
  long long S;
  cin >> N >> K >> S;
  long long num = 0LL;
  long long num2;
  vector<long long> A(N);
  for (long long i = 0LL; i < N; ++i) {
    A[i] = 0;
  }
  for (long long i = 0LL; i < N; ++i) {
    if (num < K) {
      A[i] = S;
      num++;
    } else {
      A[i] = 1e11;
    }
  }
  for (long long i = 0LL; i < N; ++i) {
    cout << A[i] << " ";
  }
}
