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