#include <bits/stdc++.h>
using namespace std;
int main(void) {
  cin.tie(0);
  ios::sync_with_stdio(false);
  int n, k;
  cin >> n >> k;
  long long s;
  cin >> s;
  vector<long long> a(n);
  long long cur = 0;
  for (int i = 0; i < (int)(n - k); i++) {
    a[i] = 1;
    cur++;
  }
  for (int i = n - k; i < n; i++) {
    a[i] = s - cur;
    cur -= a[i - (n - k)];
    cur += a[i];
  }
  for (int i = 0; i < (int)(n); i++) {
    if (i != 0) cout << " ";
    cout << a[i];
  }
  cout << endl;
  return 0;
}
