#include <bits/stdc++.h>
using namespace std;
int main() {
  long long n, k, s;
  cin >> n >> k >> s;
  long long t = n - k + 1;
  vector<long long> arr(n);
  for (long long i = 0; i < t; i++) {
    arr[i] = s / t;
  }
  arr[t - 1] += s % t;
  long long curr = s;
  long long l = 0;
  long long r = t;
  while (r < n) {
    curr -= arr[l];
    arr[r] = s - curr;
    curr += arr[r];
    r++;
    l++;
  }
  for (long long i = 0; i < t; ++i) {
    if (arr[i] == 0) {
      arr[i] = s + 1;
    }
  }
  for (long long i = 0; i < n; i++) {
    cout << arr[i] << " ";
  }
}
