#include<bits/stdc++.h>
using namespace std;
#define ull unsigned long long int
int main(){
  ull n,k,s;
  cin>>n>>k>>s;
  n-=k;
  if(s<1e9){
  while(k--) cout<<s<<" ";
  while(n--) cout<<s+1<<" ";}
  else{
    while(k--) cout<<s<<" ";
  while(n--) cout<<1<<" ";
  }
    
}
  
