#include<bits/stdc++.h>
using namespace std;
const int inf=1e9;
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++) printf("%d ",s==inf?s-1:s+1);
	printf("\n");
	return 0;
}