#include <bits/stdc++.h>
using namespace std;
int main() {
  long long N, K, S;
  cin >> N >> K >> S;
  vector<long long> res;
  res.push_back(S);
  for (int i = 0; i < K - 1; i++) {
    res.push_back(0);
  }
  if (S == (long long)1e9) {
    for (int i = 0; i < N - K; i++) {
      res.push_back(1);
    }
  } else {
    for (int i = 0; i < N - K; i++) {
      res.push_back(S + 1);
    }
  }
  for (auto x : res) {
    cout << x << " ";
  }
  cout << endl;
  return 0;
}
