#include <bits/stdc++.h>
using namespace std;
signed main() {
  int n, k, s;
  int inf = 1e9 - 1;
  cin >> n >> k >> s;
  vector<int> arr(n);
  arr[0] = s;
  for (int i = 1; i < k; ++i) {
    arr[i] = 0;
  }
  for (int i = k; i < n; ++i) {
    if (s == inf) {
      arr[i] = 1;
    } else {
      arr[i] = inf;
    }
  }
  for (auto i : arr) cout << i << ' ';
  cout << endl;
}
