#include<bits/stdc++.h>
using namespace std;
#define ll long long 
int main(){
ll n,k,s;
cin>>n>>k>>s;
ll a[n+1]={0};
for(int i=0;i<k;i++){
    a[i]=s;
    
}
for(int i=k;i<n;i++){
   a[i]=s+1;
}

for(int i=0;i<n;i++){
    cout<<a[i]<<" ";
}
cout<<endl;
	// your code goes here
	return 0;
}
