#include<iostream>
#include<algorithm>
#include<stdio.h>
#include<string>
#include<string.h>
typedef long long int ll;
using namespace std;
int main()
{
    ll s,n,lp=1,m1,n1,n2,nl,m,i,j,k,sum;
    cin>>n>>k>>s;
    for(i=1;i<=n-k;i++)
        cout<<"0"<<" ";
    else
    for(;i<=n;i++)
        cout<<s<<" ";
     return 0;
}
