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

	}
	return 0;
}
