#include<cstdio>
#include<cstring>
#include<cmath>
#include<algorithm>
using namespace std;
int n,K,s,i;
int main()
{
	scanf("%d%d%d",&n,&K,&s);
	for(i=1;i<=K;++i)
		printf("%d ",s);
	for(;i<=n;++i)
		printf("%d ",(s==1000000000?s-1:s+1));
	return 0;
}
