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

int main()
{
	int n, k;
	ll s;
	cin >> n >> k >> s;
	for (int i = 0; i < k; i++)
	{
		cout << s << " ";
	}
	for (int i = k; i < n; i++)
	{
		cout << s/2+1 << " ";
	}
}