#include<cstdio>
#include<algorithm>
using namespace std;
int n,k,s;
const int mx=1000000000;
int main()
{
	scanf("%d%d%d",&n,&k,&s);
	for(int i=1;i<=k;i++)printf("%d ",s);
	for(int i=k+1;i<=n;i++)
	{
		if(s==1000000000)printf("1 ");
		else printf("1000000000 ");
	}
	return 0;
}