#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  int n, k, s;
  cin >> n >> k >> s;
  vector<int> arr;
  if (s % 2 == 0) {
    for (int i = 0; i <= k; i++) {
      arr.push_back(s / 2);
    }
    while (arr.size() != n) {
      arr.push_back(s / 2 + 1);
    }
  } else {
    for (int i = 0; i <= k; i++) {
      if (i % 2 == 0) {
        arr.push_back(s / 2);
      } else {
        arr.push_back(s / 2 + 1);
      }
    }
    int p = arr[arr.size() - 1];
    while (arr.size() != n) {
      arr.push_back(p);
    }
  }
  for (int i = 0; i < n; i++) {
    cout << arr[i] << " ";
  }
  return 0;
}
