#include <bits/stdc++.h>
using namespace std;
typedef long long int ll;

int main(){
    ll N, K, S;
    cin >> N >> K >> S;
    if(S != 1e9){
        vector<ll> A(N,S + 1);
    }else{
        vector<ll> A(N,S - 1);
    }
    
    for(ll i = 0; i < K; i++){
        A[i] = S;
    }

    for(ll i = 0; i < N; i++){
        cout << A[i] << " ";
    }
    cout << endl;
}   
