#include <bits/stdc++.h>
using namespace std;
int n,k,s,i,j;
const int maxn=1e9;
int main()
{
	scanf("%d%d%d",&n,&k,&s);
	for (i=1;i<=k;i++)
	printf("%d ",s);
	if (s!=maxn)
	{
	for (i=k+1;i<=n;i++)
	printf("%d ",maxn);
    } else
    for (i=k+1;i<=n;i++)
    printf("1 ");
}