clude<bits/stdc++.h>
 
using namespace std;
 
#define ll long long
#define pb push_back
#define sc second
#define fr first
#define mk make_pair
ll n, k, s;
 
int main(){
 
    ios_base::sync_with_stdio(0);
    cin.tie(0);
    cout.tie(0);
 
    cin >> n >> k >> s;
 
    for(int i = 1; i <= k; ++i){
        cout << s << ' ';
    }
    for(int i = k + 1; i <= n; ++i){
        cout << 999999999 << ' ';
    }
 
    return 0;
}