#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
const int N = 1e5 + 5;
ll a[N];

int main()
{
	ios_base::sync_with_stdio(0);
	cin.tie(0);
	ll n, k, s;
	cin >> n >> k >> s;
	for (int i = 1; i <= k; i++) {
		a[i] = s;
	}
	if (n - k < s) {
		for (int i = k + 1; i <= n; i++) {
			a[i] = 1;
		}
	} else {
		for (int i = k + 1; i <= n; i++) {
			a[i] = min(s + 1, 1e9);
		}
	}
	for (int i = 1; i <= n; i++) {
		cout << a[i] << " ";
	}
	return 0;
}