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

int n, k, s;
int mod = 1e9;

int main() {
	scanf("%d%d%d", &n, &k, &s);
	if (s == mod) mod--;
	for (int i = 1; i <= k; i++) 
		printf("%d ", s);
	for (int i = k + 1; i <= n; i++)
		printf("%d ", mod);
	printf("\n");
	return 0;
}
