#include<bits/stdc++.h>
using namespace std;
int main(){
	int n,k,s;
	cin >> n >> k >> s;
	for(int i=1;i<=k;i++){
		if(i!=1)
		cout << " ";
		cout << s;
	}
	if(s==1e9)
	s=s-2;
	for(int i=k+1;i<=n;i++){
		cout << " " << s+1;
	}
	return 0;
} 