#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  int n, k, s;
  cin >> n >> k >> s;
  int l = n - k + 1;
  int f = s / l;
  vector<long long> ans;
  for (int i = (0); i < (n); ++i) ans.push_back(f);
  for (int e = 0; e < n; e += l) ans[e] += s % l;
  for (auto& k : ans) cout << k << ' ';
  cout << endl;
}
