#include <bits/stdc++.h>
using namespace std;
#define N 100005
int n,k,s;
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==1e9) printf("%d ",s-1);else printf("%d ",s+1);
	return 0;
}