#include <bits/stdc++.h>
using namespace std;
int n,k,s,ans[100004];
int main(){
	int go=1e9;
	cin>>n>>k>>s;
	if(s<1e9){
		for (int i=1;i<=k;i++) cout<<s<<" ";
		for (int i=k+1;i<=n;i++) cout<<go<<" ";
	}else{
		for (int i=1;i<=k;i++) cout<<s<<" ";
		for (int i=k+1;i<=n;i++) cout<<1<<" ";
	}
}