#include<bits/stdc++.h>
using namespace std;
typedef long long int ll;
int main()
{
	ll N,K,S;
	cin>>N>>K>>S;
	for(ll i=0;i<N;i++)
	{
		if(i<K) cout<<S<<" ";
		else
		{
			ll m=1e9;
			if(S==m)
			{
				cout<<S-1<<" ";
			}
			else
			{
				cout<<S+1<<" ";
			}
		}
	}
	return 0;
}