#include <bits/stdc++.h>
int main() {
  int n, k, s;
  std::cin >> n >> k >> s;
  int b;
  std::vector<int> v(n, 1);
  if (k == 0) {
    if (s != 1000000000) {
      for (int i = 0; i < n; i++) {
        v[i] = 1000000000;
      }
    } else {
      for (int i = 0; i < n; i++) {
        v[i] = 999999999;
      }
    }
  } else {
    b = n - k + 1;
    int divb = n / b;
    for (int i = 0; i < divb; i++) {
      v[i * b + b - 1] = s - b + 1;
    }
  }
  for (int i = 0; i < n; i++) {
    std::cout << v[i] << " ";
  }
  return 0;
}
