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