#include <bits/stdc++.h>
using namespace std;
template <typename T1, typename T2>
void chmin(T1 &first, T2 second) {
  if (first > second) first = second;
}
template <typename T1, typename T2>
void chmax(T1 &first, T2 second) {
  if (first < second) first = second;
}
template <typename T1, typename T2>
long long mypow(T1 first, T2 n) {
  if (n == 0) return 1;
  if (n == 1) return first;
  if (n % 2) return first * mypow(first, n - 1);
  long long tmp = mypow(first, n / 2);
  return tmp * tmp;
}
long long comb(long long n, long long r) {
  long long res = 1;
  for (int i = 0; i < r; i++) {
    res *= n - i;
    res /= i + 1;
  }
  return res;
}
void Main() {
  int N, K, S;
  cin >> N >> K >> S;
  for (int i = 0; i < K; i++) {
    cout << S;
    if (i != N - 1) cout << " ";
  }
  for (int i = K + 1; i < N; i++) {
    cout << S * 1;
    if (i != N - 1) cout << " ";
  }
  cout << endl;
  return;
}
int main() {
  cin.tie(nullptr);
  ios_base::sync_with_stdio(false);
  cout << std::fixed << std::setprecision(15);
  Main();
  return 0;
}
