#include<bits/stdc++.h>
#define int long long
using namespace std;
constexpr int mod=1e9+7;
signed main(){
    int n,k,s;
    cin>>n>>k>>s;
    for(int i=0;i<n;i++)
        cout<<(s==1e9?s-(i>=k):s+(i>=k))<<(i+1==n?'\n':' ');
}
