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