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