#include<bits/stdc++.h>
#define ll long long
const int maxn=1300;
const int inf=-0x3f3f3f;

using namespace std;

ll gcd(int a,int b){return b==0?a:gcd(b,a%b);}
ll lcm(int a,int b){return gcd(a,b)/a*b;}
ll a[maxn];


int main()
{
	ll n,k,s;
	cin>>n>>k>>s;
	for(int i=1; i<=k; i++) cout<<s<<" ";
	
	if(s==1e9)
	 for(int i=1; i<=n-k; i++) cout<<1<<" ";
	else
	 for(int i=1; i<=n-k; i++) cout<<s+1<<" ";
	return 0;
 } 