#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, k, s;
  cin >> n >> k >> s;
  if (s % 2 == 0) {
    for (int i = 0; i < n; i++) {
      if (i <= k)
        cout << s / 2 << " \n"[i == n - 1];
      else
        cout << 1000000000 - 1 << " \n"[i == n - 1];
    }
  } else {
    for (int i = 0; i < n; i++) {
      if (i < k)
        cout << s << " \n"[i == n - 1];
      else
        cout << 2 << " \n"[i == n - 1];
    }
  }
  return 0;
}
