#include <bits/stdc++.h>
using namespace std;
constexpr int64_t mod = 1e9 + 7;
using ll = int64_t;
int main() {
  ll n, k, s;
  cin >> n >> k >> s;
  vector<ll> a(n);
  a[0] = (s - s % (n - k + 1)) / (n - k + 1) + s % (n - k + 1);
  for (int i = 1; i < k; ++i) {
    a[i] = (s - s % (n - k + 1)) / (n - k + 1);
  }
  for (int i = k; i < n; ++i) {
    a[i] = a[i - k];
  }
  for (const auto& e : a) {
    cout << e << " ";
  }
}
