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

const int max = 1e5 + 10;

int n,k,s;

int main()
{
	cin >> n >> k >> s;
	for(int i = 0; i < k; i++) cout << s << " ";
	for(int i = 0; i < n - k; i++) {
		int t = 1;
		if(s != 1e9) t = s + 1;
		cout << t << " ";
	}	
	return 0;
}