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