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

int main()
{
	int n,k,s;
	while(cin>>n>>k>>s)
	{
		for(int i=1;i<=n;i++)
		{
			if(i<=k) cout<<s<<" ";
			else
			{
				if(s==1000000000) cout<<s-1<<" ";
				else cout<<s+1<<" ";
			}
		 } 
		 cout<<"\n";
	}
}