#include <bits/stdc++.h>
using namespace std;

int main() {
	int n,k,i,j;
	long s,x;
	cin>>n>>k>>s;
	if(s!=1000000000)
	{
		for(i=0;i<k;i++)
		cout<<s<<" ";
		for(i=0;i<n-k;i++)
		cout<<s+1<<" ";
	}
	else 
	{
		for(i=0;i<k;i++)
		cout<<s<<" ";
		for(i=0;i<n-k;i++)
		cout<<s-1<<" ";
	}
	return 0;
}