#include <bits/stdc++.h>
#define rep(i,n) for(int i=0;i<(int)n;i++)
#define rep1(i,n) for(int i=1;i<=(int)n;i++)
typedef long long ll;
using namespace std;
int main(void){
    ll n,k,s;cin>>n>>k>>s;
    vector<ll> a(n);
    rep(i,k) a[i]=s;
    for(int i=k;i<n;i++){
        if(s!=1e+9)a[i]=s+1;
        else a[i]=a[i]=s-1;
    rep(i,n)cout<<a[i]<<" ";
    cout<<endl;
}
