#include <bits/stdc++.h>
template <class T>
inline bool chmax(T& a, T b) {
  if (a < b) {
    a = b;
    return true;
  }
  return false;
}
template <class T>
inline bool chmin(T& a, T b) {
  if (a > b) {
    a = b;
    return true;
  }
  return false;
}
using namespace std;
using ll = long long;
const int inf = 1e9 + 7;
const ll longinf = 1LL << 60;
const ll mod = 1e9 + 7;
int dx[4] = {1, 0, -1, 0}, dy[4] = {0, 1, 0, -1};
int main() {
  ll N, K, S;
  cin >> N >> K >> S;
  ll tmp;
  if (S == 1)
    tmp = 2;
  else
    tmp = 1;
  for (ll i = 0; i < N - K; ++i) {
    cout << tmp << " ";
  }
  for (ll i = 0; i < K; ++i) {
    cout << S << " ";
  }
  cout << endl;
  return 0;
}
