#include <iostream>
using namespace std;
int main(void) {
	int N, K, S;
	cin >> N >> K >> S;
	for (int i = 1; i <= K; i++) {
		cout << S << " ";
	}
	for (int i = K+1; i <= N; i++) {
		if (S==1000000000) {
			cout << 1 << " ";
		} else {
			cout << S+1 << " ";
		}
	}
	return 0;
}
