#include <bits/stdc++.h>
using namespace std;

int mod = 1e9;

int main(){
	int n, k, s;
	cin >> n >> k >> s; 
	if (s == mod) mod--;
	for (int i = 1; i <= k; i++)
		cout << s << endl;
	for (int i = k + 1; i <= n; i++)
		cout << mod << endl; 
	return 0;
}
