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

int inf = 1000000000;

int main() {
	srand(42);
	int n, k, s;
	cin >> n >> k >> s;
	for(int i = 0; i < k; ++i) cout << s << " ";
	for(int i = k; i < n; ++i) cout << inf - 42 << " ";
	return 0;
}