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