#include <bits/stdc++.h>
using namespace std;
int main(int argc, char *argv[]) {
  long N, K, S;
  cin >> N >> K >> S;
  vector<long> A;
  for (int i = 0; i < N; i++) {
    if (i < K) {
      A.push_back(S);
    } else {
      A.push_back(3 * S);
    }
  }
  for (int i = 0; i < A.size(); i++) {
    cout << A[i];
    if (A.size() - 1 != i) {
      cout << " ";
    }
  }
  cout << endl;
  return 0;
}
