    #include<bits/stdc++.h>
    using namespace std;
    int main()
    {
    	int x,y,num;
    	cin>>x>>y>>num;
    	for(int i =0;i<y;i++)
    		cout<<num<<' ';
    	int result = num+1;
    	if(num==1e9)
    		result = num-1;
    	for(int i =0;i<x-y;i++)
    		cout<<result<<' ';
    	cout<<endl;
    }