#include <bits/stdc++.h>
using namespace std;
int main(void) {
  int n, k, s;
  cin >> n >> k >> s;
  vector<int> ans(n);
  for (int i = 0; i < n; i++) {
    if (k > 0) {
      ans[i] = s;
      k--;
    } else
      ans[i] = 1;
  }
  for (int i = 0; i < n; i++) {
    if (i == n - 1)
      cout << ans[i] << endl;
    else
      cout << ans[i] << " ";
  }
  return 0;
}
