#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);
  if (!(K == 0)) {
    for (long long i = 0LL; i < N; ++i) {
      A[i] = 0;
    }
    for (long long i = 0LL; i < N; ++i) {
      if (num < K || num == 0) {
        A[i] = S;
        num++;
      } else {
        A[i] = 1e9;
      }
    }
    for (long long i = 0LL; i < N; ++i) {
      cout << A[i] << " ";
    }
  } else {
    for (long long i = 0LL; i < N; ++i) {
      A[i] = 0;
      cout << A[i] << " ";
    }
  }
}
