#include <iostream>

int main() {
	int n, k, s;
	std::cin >> n >> k >> s;

	constexpr int MaxS = 1e9;
	int dummy = (s == MaxS ? 1 : s + 1);
	std::cout << (k == 0 ? dummy : s) << std::endl;
	for (int i = 1; i < n; ++i)
		std::cout << (i < k ? s : dummy) << std::endl;
}