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