#include <bits/stdc++.h>
using namespace std;
using ll=long long;
int main(){
  ll N,K,S; cin>>N>>K>>S;
  for(int i=0; i<K; i++){
    if(i!=N-1) cout<<S<<" ";
    else cout<<S<<endl;
  }
  if(S==1e9) S--;
  else S++;
  for(int i=K; i<N; i++){
    if(i!=N-1) cout<<S<<" ";
    else cout<<S<<endl;
  }
}