#include <bits/stdc++.h>
using namespace std;
vector<int64_t> factorize(int64_t M) {
  vector<int64_t> res;
  for (int i = 1; i * i <= M; i++) {
    if (M % i == 0) {
      res.push_back(i);
      if (i * i != M) res.push_back(M / i);
    }
  }
  sort(res.begin(), res.end(), greater<int64_t>());
  return res;
}
int main() {
  int64_t N, K, S;
  cin >> N >> K >> S;
  vector<int64_t> ans;
  for (int i = 0; i < (int)(K); i++) ans.push_back(S);
  for (int i = 0; i < (int)(N - K); i++) ans.push_back(S + 1);
  for (int i = 0; i < (int)(N); i++) cout << ans[i] << " ";
  cout << endl;
}
