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