#include<bits/stdc++.h>
using namespace std;
int main() {
	int q1, q2, q3;
	scanf("%d %d %d", &q1, &q2, &q3);
	for (int i = 0; i < q2; i++) {
		cout << q3 << " ";
	}
	for (int i = q2; i < q1; i++) {
		if (q3 > 100000)cout << q3 - 5 << " ";
		else cout << q3 + 5 << " ";
	}
	return 0;
}