#include <bits/stdc++.h>
#define rep(i,n) for (int i=0; i<(n); ++i)
using namespace std;
using ll=long long;
int main(){
    int n,k,s;
    cin>>n>>k>>s;
    int cnt=0;
    rep(i,n){
        while(k!=cnt){
            cout<<s<<" ";
            cnt++;
            i++;
        }
        if(n!=cnt){
            if(s==1e9)cout<<1<<" ";
            else cout<<s+1<<" ";
    }
    cout<<endl;
}