#include <bits/stdc++.h>
using namespace std;
int main() {
  long long n, k, s;
  cin >> n >> k >> s;
  if (k == 0) {
    long long m = 1000000000LL;
    if (s != m) {
      for (int i = 0; i < n; i++) {
        cout << m << " ";
      }
      cout << endl;
    } else {
      for (int i = 0; i < n; i++) {
        cout << 1 << " ";
      }
      cout << endl;
    }
    return 0;
  }
  vector<long long> r(n + 1, 0);
  long long hog = n - k;
  for (long long i = 0; i < hog; i++) {
    r[i] = i;
  }
  for (long long i = 0; i < n + 1; i++) {
    r[i] = r[i % hog] + (i / hog) * s;
  }
  vector<long long> a(n);
  for (int i = 0; i < n; i++) {
    a[i] = r[i + 1] - r[i];
  }
  for (auto e : a) {
    cout << e << " ";
  }
  cout << endl;
}
