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