#include <bits/stdc++.h>
using namespace std;
template <class T>
bool uin(T &a, T b) {
  return a > b ? (a = b, true) : false;
}
template <class T>
bool uax(T &a, T b) {
  return a < b ? (a = b, true) : false;
}
int main() {
  long long n, k, s;
  cin >> n >> k >> s;
  if (s == 1e9) {
    for (long long i = 0; i < (long long)(k); ++i) cout << 1e9 << " ";
    for (long long i = k; i < n; i++) cout << (1000000000 - 1) << " ";
  } else {
    for (long long i = 0; i < (long long)(k); ++i) cout << s << " ";
    for (long long i = k; i < n; i++) cout << (1000000000) << " ";
  }
}
