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