#include <bits/stdc++.h>
using namespace std;
const long long INF = 1LL << 60;
const long long MOD = 1000000007;
template <class T>
inline bool chmin(T &a, T b) {
  if (a > b) {
    a = b;
    return true;
  }
  return false;
}
template <class T>
inline bool chmax(T &a, T b) {
  if (a < b) {
    a = b;
    return true;
  }
  return false;
}
int main() {
  int n, k;
  long long s;
  cin >> n >> k >> s;
  long long nagasa = n - k + 1;
  long long ikko = s / nagasa;
  if (ikko == 0) {
    for (long long i = 0; i < n; i++) {
      if (i < k) {
        cout << s << " ";
      } else {
        cout << 1000000007 << " ";
      }
    }
    cout << endl;
    return 0;
  }
  vector<long long> v(n);
  for (long long i = 0; i < n; i++) {
    if (i < nagasa - 1) {
      v[i] = ikko;
    } else if (i == nagasa - 1) {
      v[i] = s % nagasa + ikko;
    } else {
      v[i] = v[i - nagasa];
    }
    cout << v[i] << " ";
  }
  cout << endl;
}
