#include<bits/stdc++.h>
using namespace std;
int main(){
  long N,K,S;cin>>N>>K>>S;
  long IR=S%1000000000+1;
  vector<long>A(N,IR);
  for(long i=0;i<N;i++){
    if(i<=K-1)A[i]=S;
  }
  for(long i=0;i<N;i++)cout<<A[i]<<" ";
}