#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  long long n, k, s, a[200000], i, j, p;
  cin >> n >> k >> s;
  for (i = 0; i < 2 * n; i++) {
    a[i] = 0;
  }
  a[1] = s / 2;
  a[2] = s - a[1];
  for (i = 1; i < k; i++) {
    a[i + 2] = a[i];
  }
  for (i = k + 2; i <= n; i++) {
    a[i] = 999999999999;
  }
  for (i = 1; i <= n; i++) {
    cout << a[i] << " ";
  }
  cout << endl;
  return 0;
}
