#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ld = long double;
using vl = vector<ll>;
using vll = vector<vl>;
using Pll = pair<ll, ll>;
const int MOD = 1e9 + 7;
const ll INF = 2e15;
template <class T>
void print(const T& t) {
  cout << t << endl;
}
template <class T>
inline bool chmax(T& a, T b) {
  if (a < b) {
    a = b;
    return 1;
  }
  return 0;
}
template <class T>
inline bool chmin(T& a, T b) {
  if (a > b) {
    a = b;
    return 1;
  }
  return 0;
}
ll gcd(ll a, ll b) { return b ? gcd(b, a % b) : a; }
int main() {
  ll n, k, s;
  cin >> n >> k >> s;
  if (s != 1e9) {
    for (ll i = 0; i < (ll)(k); i++) {
      cout << s << " ";
    }
    for (ll i = 0; i < (ll)(n - k); i++) {
      cout << 1e9 << " ";
    }
    cout << endl;
  } else {
    for (ll i = 0; i < (ll)(k); i++) {
      cout << 1e9 << " ";
    }
    for (ll i = 0; i < (ll)(n - k); i++) {
      cout << 1 << " ";
    }
    cout << endl;
  }
}
