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