#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, k, s;
  cin >> n >> k >> s;
  vector<int> ans;
  for (int i = 0; i < k; ++i) {
    ans.push_back(s);
  }
  int tmp = s;
  while (!(1 <= tmp && tmp <= 1e9) or tmp == s) ++tmp;
  for (int i = k; i < n; ++i) {
    ans.push_back(tmp);
  }
  cout << ans[0];
  for (int i = 1; i < n; ++i) {
    cout << " " << ans[i];
  }
  cout << endl;
  return 0;
}
