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