#include <bits/stdc++.h>
#define mp make_pair
#define eb emplace_back
#define pb push_back
#define fi first
#define se second
#define bit(n) (1 << n)
using namespace std;
using cd = complex <double>;
 
typedef pair <int, int> pii;
typedef vector <int> vi;
typedef vector <pair <int, int> > vii;
typedef map <int, int> mii;
 
const int Inf = 1000000000;
const int mod = 1000000007;//998244353;
const double Pi = acos(-1);

void Fastio()
{
	ios_base::sync_with_stdio(false);
	cin.tie(0);
	cout.tie(0);
}	

int n, k, s;

void Solve()
{
	cin >> n >> k >> s;
	if(s == 1000000000)
	{
		for(int i = 1; i <= k; i++)
		{
			cout << s << " ";
		}
		for(int i = k + 1; i <= n; i++)
		{
			cout << 1 << " ";
		}
		return;
	}
	for(int i = 1; i <= k; i++)
	{
		cout << s << " ";
	}
	for(int i = k + 1; i <= n; i++)
	{
		cout << s + 1 << " ";
	}
}
 
int main()
{
	Fastio();
	Solve();
}