#include<bits/stdc++.h>
using namespace std;
const int qwq=1e9;
int n,k,s;
int main()
{
	cin>>n>>k>>s;
	for(int i=1;i<=k;++i) cout<<s<<' ';
	for(int i=k+1;i<=n;++i) 
	{
		if(s-1==0) cout<<qwq<<' ';
		else cout<<s-1<<' ';
	}
	return 0;
}