#include <bits/stdc++.h>
using namespace std;
class CSubarraySum {
 public:
  void solve(std::istream& cin, std::ostream& cout) {
    long long N, K, S;
    cin >> N >> K >> S;
    if (K == 0) {
      for (long long i = 0, i_len = (N); i < i_len; ++i) {
        cout << S + 1 << " ";
      }
      cout << endl;
      return;
    }
    long long v = S / (N - K + 1);
    long long r = S % (N - K + 1);
    for (long long i = 0, i_len = (N); i < i_len; ++i) {
      if (i == 0) {
        cout << v + r << " ";
      } else if (i <= N - K) {
        cout << v << " ";
      } else {
        cout << 0 << endl;
      }
    }
  }
};
signed main() {
  ios::sync_with_stdio(false);
  cin.tie(nullptr);
  cout.tie(nullptr);
  std::istream& in(std::cin);
  std::ostream& out(std::cout);
  CSubarraySum solver;
  solver.solve(in, out);
  return 0;
}
