#include <bits/stdc++.h>
using namespace std;
const long long mod = 1e9 + 7;
vector<pair<long long, long long>> a;
int32_t main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  long long n, k, s;
  cin >> n >> k >> s;
  vector<long long> ans;
  ans.push_back(s);
  long long cur = s;
  k--;
  while (ans.size() < n) {
    if (k) {
      ans.push_back(cur + s);
      cur += s;
      k--;
    } else if (s + 1 <= 1e9) {
      ans.push_back(cur + s + 1);
      cur += s + 1;
    } else {
      ans.push_back(cur + s - 1);
      cur += s - 1;
    }
  }
  for (long long i = 0; i < n; ++i) {
    if (i == 0) {
      cout << ans[i] << ' ';
    } else {
      cout << ans[i] - ans[i - 1] << ' ';
    }
  }
  cout << '\n';
  return 0;
}
