#include <bits/stdc++.h>
using namespace std;
const long long MOD = 1000000007;
const long long INF = numeric_limits<long long>::max() / 2;
signed main() {
  cin.tie(nullptr);
  ios::sync_with_stdio(false);
  long long N, K, S;
  cin >> N >> K >> S;
  if (K == 0) {
    for (long long i = 0; i < (long long)(N); i++) {
      cout << S + 1 << ' ';
    }
    cout << endl;
  } else {
    for (long long i = 0; i < K; i++) {
      cout << S << ' ';
    }
    for (long long i = 0; i < N - K; i++) {
      cout << S + 1 << ' ';
    }
    cout << endl;
  }
}
