#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;
    vector<long long> cum(n + 1, 0);
    if (n - k < s) {
      for (int i = 1; i <= k; i++) cum[i] = cum[i - 1] + s;
      for (int i = k + 1; i <= n; i++) cum[i] = cum[i - 1] + 1;
      for (int i = 1; i <= n; i++) {
        cout << cum[i] - cum[i - 1] << endl;
      }
    } else {
      for (int i = 1; i <= s; i++) {
        cum[i] = cum[i - 1] + 1;
      }
      for (int i = s + 1; i <= s + k - 2; i++) {
        cum[i] = cum[i - 1] + 1;
      }
      cum[s + k - 1] = cum[s + k - 2] + s;
      for (int i = s + k; i <= n; i++) {
        cum[i] = cum[i - 1] + s - 1;
      }
      for (int i = 1; i <= n; i++) {
        cout << cum[i] - cum[i - 1] << endl;
      }
    }
  }
};
int main() {
  CSubarraySum solver;
  std::istream& in(std::cin);
  std::ostream& out(std::cout);
  solver.solve(in, out);
  return 0;
}
