#include <bits/stdc++.h>
using namespace std;
template <class T>
inline bool chmax(T& a, T b) {
  return a = (a < b) ? b : a;
}
template <class T>
inline bool chmin(T& a, T b) {
  return a = (a > b) ? b : a;
}
long long const INF = 1LL << 60;
long long const 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 = (K); i < (N); i++) cout << S + 1 << " ";
  cout << endl;
  return 0;
}
