#include <iostream>

using namespace std;

int main()
{
	int N, K, S;
	cin >> N >> K >> S;

	int T = 1000 * 1000 * 1000;
	if (S == T) {
		--T;
	}

	for (int i = 0; i < K; ++i) {
		cout << S << " ";
	}
	for (int i = K; i < N; ++i) {
		cout << T << " ";
	}
	cout << endl;
}
