#include <bits/stdc++.h>
using namespace std;
long long mod = 1e9 + 7;
int main() {
  int n, k;
  long long s;
  cin >> n >> k >> s;
  long long ans_num = (k == 0) ? s + 1 : s;
  int cnt = 0;
  for (int i = 0; i < (n); ++i) {
    if (i != 0) cout << " ";
    if (cnt == k)
      cout << s + 1;
    else {
      cout << ans_num;
      ++cnt;
    }
  }
  cout << endl;
  return 0;
}
