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