#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, k, s;
  cin >> n >> k >> s;
  vector<int64_t> wa(n + 1);
  wa[0] = 0;
  int j = 0;
  for (int i = 0; i < (int)(n); i++) {
    if (j < k) {
      wa[i + 1] = wa[i] + s;
    } else {
      wa[i + 1] = wa[i] + s + j;
    }
    j++;
  }
  vector<int> a(n);
  for (int i = 0; i < (int)(n); i++) {
    a[i] = wa[i + 1] - wa[i];
    cout << a[i] << " ";
  }
}
