#include<bits/stdc++.h>
using namespace std;
const int N=2e5+50,inf=1e9;
int n,k,s,a[N];
int main(){
	scanf("%d%d%d",&n,&k,&s);
	if(s==inf)for(int i=1;i<=n;i++)a[i]=i<=k?s:1;
	else for(int i=1;i<=n;i++)a[i]=i<=k?s:inf;
	for(int i=1;i<=n;i++)printf("%d ",a[i]);puts("");
}