#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, k, s;
  cin >> n >> k >> s;
  if (k == 0) {
    vector<int> res(n, 1);
    if (accumulate(res.begin(), res.end(), 0) == s) res[0]++;
    for (auto e : res) {
      cout << e << " ";
    }
    cout << endl;
  } else {
    vector<int> res(n, 1);
    int d = n - k;
    for (int i = d; i < n; i += d) {
      int dif = d - 1;
      res[i] = s - dif;
    }
    for (auto e : res) cout << e << " ";
    cout << endl;
  }
  return 0;
}
