#include <bits/stdc++.h>
using namespace std;
template <class T>
int64_t sum(vector<T> a);
template <class T>
double ave(vector<T> a);
template <typename T>
ostream& operator<<(ostream& s, const vector<T>& v);
uint64_t gcd(int64_t a, int64_t b);
uint64_t lcm(int64_t a, int64_t b);
bool flagdebug = false;
int main() {
  int64_t n, k, s;
  cin >> n >> k >> s;
  int64_t hz = n - k + 1;
  int64_t nom = s / hz;
  int64_t sep = s - nom * (hz - 1);
  for (int i = 1; i <= (int)(n); i++) {
    if (i % hz == 0) {
      cout << sep;
    } else {
      cout << nom;
    }
    if (i != n) {
      cout << " ";
    } else {
      cout << endl;
    }
  }
  return 0;
}
template <typename T>
ostream& operator<<(ostream& s, const vector<T>& v) {
  s << "[\t";
  for (auto i = v.begin(); i < v.end() - 1; i++) {
    s << *i << "\t";
  }
  s << *(v.end() - 1) << "\t]\n";
  return s;
}
uint64_t gcd(int64_t a, int64_t b) {
  if (b != 0) {
    return gcd(b, a % b);
  }
  return a;
}
uint64_t lcm(int64_t a, int64_t b) { return a / gcd(a, b) * b; }
