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