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