#include <iostream>
using namespace std;

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