#include<bits/stdc++.h>
using namespace std;
#define rep(i,n) for(int i=0;i<n;i++)
#define repA(a,i,n) for(int i=a;i<n;i++)
#define trav(a,x)for(auto &a: x)
#define fll(a) memset(a,1,sizeof(a));
#define mp make_pair
#define pb push_back
#define all(x) x.begin(),x.end()
#define F first
#define S second
#define itr(it,x) for(auto it=x.begin();it!=x.end();it++)
const int mod=1e9+7;
typedef long long ll;
typedef long double ld;
typedef pair<int,int>pii;
typedef vector<int>vi;
typedef map<int,int>ma;
#define fastio ios_base::sync_with_stdio(false); cin.tie(NULL);
void fopen()
{
    freopen("input.txt","r",stdin);
    freopen("output.txt","w",stdout);   
}
int main()
{
    fastio;
   // fopen();
    int n,k,s;
    cin>>n>>k>>s;
    fll(a);
    rep(i,n)
    {
        if(k>0){k--;cout<<s<<" ";}
        else{
            if(s!=1000000000)
            {
                cout<<s+1<<" ";
            }
            else{
                cout<<1<<" ";
            }
        }
    }
    //rep(i,n) cout<<a[i]<<" ";
    return 0;

}