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