#include <bits/stdc++.h>
#define INF 1000000000
using namespace std;

int main() {

    int64_t N,K,S;
    cin >> N>>K>>S;
  if(S!=1000000000){
for(int i=0; i<K;i++){
    cout<<S; if(i!=N-1)cout<<" ";}
  for(int i=0; i<N-K;i++){
    cout<<S+1;if(i!=N-1-K)cout<<" ";}
  cout<<endl;}
  else{for(int i=0; i<K;i++){
    cout<<S; if(i!=N-1)cout<<" ";}
  for(int i=0; i<N-K;i++){
    cout<<1;if(i!=N-1-K)cout<<" ";}
  cout<<endl;}}
}
    
