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