#include<bits/stdc++.h>
#define INF 0x3f3f3f3f
#define DOF 0x7f7f7f7f
#define mem(a,b) memset(a,b,sizeof(a))
#define IO ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0);
typedef long long ll;
using namespace std;
int main()
{IO;
    ll n,k,s;cin>>n>>k>>s;
    for(ll i=0;i<k;++i) cout<<s<<" ";
    for(ll i=0;i<n-k;++i) cout<<s+1<<" ";
    return 0;
}
