#include<bits/stdc++.h>

using namespace std;

int main() {
    int N, K, S;
    cin >> N >> K >> S;

    for (int i = 0; i < K; i++) {
        cout << S << " ";
    }

    int t = S + 1;
    if (S == 1e9) t = 1;
    for (int i = K; i < N; i++) {
        cout << t << " ";
    }
    return 0;
}
