#include<iostream>
using namespace std;
int main()
{
	long long n, k, s;
	cin >> n >> k >> s;
	for (int i = 0; i < k; i++)
		cout << s << " ";
	s %= 100000007;
	s++;
	for (int i = k; i < n; i++)
		cout << s << " ";
}