#include <bits/stdc++.h>
using namespace std;
int main() {
    int N, K, S; cin >> N >> K >> S;
    vector<int> A(N);
    for (int i = 0; i < K; i++) A[i] = S;
    for (int i = K; i < N; i++) A[i] = (S == 1e9 ? 1 : 1e9);
    for (auto a : A) cout << a << ' ';
    cout << endl;
    return 0;
}
