#include <bits/stdc++.h>

using namespace std;

int main() {
	long N, K, S;
	cin >> N >> K >> S;
	for (size_t i = 0; i < K; i++)
	{
		cout << S<<endl;
	}
	for (size_t i = K; i < N; i++)
	{
		if (S==1000000000)
		{
			cout <<1<<endl;
		}else cout << S+1<<endl;
	}
}