#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  long long n, i = 0, j = 0, k = 0, l = 0, m = 0, a = 0, b = 0, sum = 0, x = 0,
               y = 0, z = 0, c, p, s;
  cin >> n >> k >> s;
  vector<long long> v;
  for (i = 1; i <= n; i++) {
    if (k == 0) {
      if (s == 1000000000) {
        v.push_back(1);
      } else {
        v.push_back(s + 1);
      }
      continue;
    }
    if (i <= k) {
      v.push_back(s);
    } else {
      if (s != 1) {
        v.push_back(1);
      } else {
        v.push_back(2);
      }
    }
  }
  for (auto i : v) {
    cout << i << " ";
  }
  return 0;
}
