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

using i64 = int64_t;

int main(){
    i64 n, k, s;
    cin >> n >> k >> s;
    for(int i=0;i<n;++i){
        if(i)cout << " ";
        if(i<k)cout << s;
        else cout << (s == 1000000000 ? 1 : s+1);
    }
    cout << endl;

    return 0;
}