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