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

signed main()
{
	ios::sync_with_stdio(false);
	int n,k,s;
	cin>>n>>k>>s;
	int dif=s+1;
	if(dif>1000000000) dif=1;
	for(int i=1;i<=k;i++) cout<<s<<" ";
	for(int i=1;i<=n-k;i++) cout<<dif<<" ";
	cout<<endl;	
	return 0;
}