n,k,s=map(int,input().split())
answer=[]
if s==10**9:
    for i in range(k+1):
        answer.append((10**9)//2)
    for i in range(n-k-1):
        answer.append(1)
else:
    for i in range(k):
        answer.append(s)
    for i in range(n-k):
        answer.append(10**9)
for i in range(n):
    print(answer[i],end=" ")