#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, k, s, i, m, a, b;
  cin >> n >> k >> s;
  if (s % 2 == 0) {
    m = s / 2;
    for (i = 1; i <= k + 1; i++) {
      cout << m << " ";
    }
    for (i = k + 1; i <= n; i++) cout << 1000000000 << " ";
    cout << endl;
  } else {
    a = s / 2;
    b = s / 2 + 1;
    for (i = 1; i <= k + 1; i++) {
      if (i % 2 != 0)
        cout << a << " ";
      else
        cout << b << " ";
    }
    for (i = k + 2; i <= n; i++) cout << 1000000000 << " ";
    cout << endl;
  }
}
