n,k,s=map(int,input().split())
if k==0:
    for i in range(n):
        print(s+1,end=" ")
else:
    li=[]
    for j in range(k):
        li.append(s)
    for j in range(n-k):
        li.append(s+1)
    for j in li:
        print(j,end=" ")
        