#include <iostream>
using namespace std;
int main()
{
	long long int n,k,s;
	cin>>n>>k>>s;
	
	for(int i=0;i<n;i++)
	{
		if(i<k)
		{
			cout<<s<<" ";
		}
		else
		{
			if(s!=1000000000)
			{
				cout<<s+1<<" ";
			}
			else
			{
				cout<<s-1<<" ";
			}
		}
	}
}
