#include<bits/stdc++.h>
using namespace std;

int main() {
    int64_t N, K, S;
    cin >> N >> K >> S;
    for (int64_t i = 0; i < K; i++) {
        cout << S << " ";
    }
    for (int64_t i = 0; i < N - K; i++) {
        cout << (S + 1) % int64_t(1e9) << " ";
    }
    cout << endl;
}