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