#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
  ll N, K, S;
  cin >> N >> K >> S;
  ll dif = N - K - 1;
  for (int i = 0; i < N; ++i) {
    if (i <= dif) {
      cout << 0 << " ";
    } else if (dif < i && i != N - 1) {
      cout << S << " ";
    } else if (i == N - 1) {
      cout << S;
    }
  }
}
