#include <bits/stdc++.h>
using namespace std;
using ll = long long int;
template <class T>
bool chmax(T &a, const T &b) {
  if (a < b) {
    a = b;
    return 1;
  }
  return 0;
}
template <class T>
bool chmin(T &a, const T &b) {
  if (b < a) {
    a = b;
    return 1;
  }
  return 0;
}
const ll INF = 1e10;
const ll MOD = 1000000007;
int main() {
  ll n, k, s;
  cin >> n >> k >> s;
  ll a;
  if (k == n) {
    a = s;
    for (ll i = ll(0); i < ll(n - 1); ++i) cout << a << ' ';
    cout << a << endl;
  } else if (s == 1) {
    for (ll i = ll(0); i < ll(k); ++i) cout << 1 << ' ';
    for (ll i = ll(0); i < ll(n - k - 1); ++i) cout << 1000000000 << ' ';
    cout << 1000000000 << endl;
  } else if (s == 1000000000) {
    for (ll i = ll(0); i < ll(k); ++i) cout << s << ' ';
    for (ll i = ll(0); i < ll(n - k); ++i) cout << 1 << ' ';
    cout << endl;
  } else {
    for (ll i = ll(0); i < ll(k); ++i) {
      cout << a << ' ';
    }
    for (ll i = ll(0); i < ll(n - k); ++i) cout << 1000000000 << ' ';
    cout << endl;
  }
}
