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

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