#include<bits/stdc++.h>
using namespace std;
#define rep(i,j,n) for(int i=(int)(j);i<(int)(n);i++)
#define REP(i,j,n) for(int i=(int)(j);i<=(int)(n);i++)
#define MOD 1000000007
#define int long long
#define ALL(a) (a).begin(),(a).end()
#define vi vector<int>
#define vii vector<vi>
#define pii pair<int,int>
#define priq priority_queue<int>
#define disup(A,key) distance(A.begin(),upper_bound(ALL(A),(int)(key)))
#define dislow(A,key) distance(A.begin(),lower_bound(ALL(A),(int)(key)))
signed main(){
  int N,K,S; cin>>N>>K>>S;
  if(S==1000000000){
    rep(i,0,K)cout<<S<<" ";
  rep(i,0,N-K)cout<<0<<" ";
  cout<<endl;
    }
  else
  rep(i,0,K)cout<<S<<" ";
  rep(i,0,N-K)cout<<S+1<<" ";
  cout<<endl;
  }
  }
