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