#include<bits/stdc++.h>
using namespace std;
long md = 1e9;
int main() {
  long n, k, s;
  cin>>n>>k>>s;
  
  if(s ==  md) {
  	for(long i = 1; i<=k; i++)
    	cout<<s<<" ";
    for(long i = k + 1; i<=n; i++)
      	cout<<1<<" ";  
  }
  else {
		for(long i = 1; i<=k; i++)
    		cout<<s<<" ";
    	for(long i = k + 1; i<=n; i++)
      		cout<<s+1<<" ";  
  }
  return 0;