#include <bits/stdc++.h>
using namespace std;
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;
}
const long long INF = 1LL << 60;
const long long MOD = 1000000007;
int main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  long long N, K, S;
  cin >> N >> K >> S;
  for (long long i = 0; i < K; ++i) {
    cout << S << " ";
  }
  for (long long i = 0; i < N - K; ++i) {
    cout << 0 << " ";
  }
  cout << endl;
}
