#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, k, s;
  cin >> n >> k >> s;
  vector<int> v;
  if (k == 0) {
    if (s == 999999937) {
      for (long long i = 0; i < (n); i++) {
        v.push_back(982451653);
      }
    } else {
      for (long long i = 0; i < (n); i++) {
        v.push_back(999999937);
      }
    }
  } else {
    int m = n - k + 1;
    int base = s / m;
    int modu = s % m;
    for (long long i = 0; i < (n); i++) {
      if (i % m == 0) {
        v.push_back(base + modu);
      } else {
        v.push_back(base);
      }
    }
  }
  for (long long i = 0; i < (n); i++) {
    cout << v[i] << " ";
  }
  cout << endl;
  return 0;
}
