# Keyence 2020 C
si = lambda: input()
ni = lambda: int(input())
nm = lambda: map(int, input().split())
nl = lambda: list(map(int, input().split()))
n,k,s=nm()
inf=10**10
a=[]
if k==0:
    a=[inf]*n
    print(*a)
    exit()

for i in range(k,0,-1):
    a+=[1]*(i-1)
    a.append(s-(i-1))
a+=[inf]*(n-len(a))
print(*a)
