#include<bits/stdc++.h>
int n,k,s,m=1e9,i,a[100005];
int main(){
	scanf("%d%d%d",&n,&k,&s);
	if(s>n){
		for(i=1;i<=k;++i)a[i]=s;
		for(;i<=n;++i)a[i]=1,--a[k];
	}else{for(i=1;i<=k;++i)a[i]=s;for(;i<=n;++i)a[i]=m;}
	for(i=1;i<=n;++i)printf("%d%c",a[i],i==n?'\n':' ');
}