#include<bits/stdc++.h>
using namespace std;
int main(){
  int n,k;
  long s;
  cin >> n >> k >> s;
  vector<long>a(n,0);
  int i;
  for(i=0;i<n;i++){
    if(i<k)a[i] = s;
    else{
      if(s<1000000000)a[i]=s+1;
      else a[i] = s-1;
    }
  }



  for(i=0;i<n;i++){
    cout << a[i] << " ";
  }
}
