n,k,s = [int(i) for i in input().split()]

for i in range(k):
    print(s,end="")
    if i!=k-1:
        print(" ",end="")

s = 1 if s==10**0 else s+1

for i in range(k+1,n):
    print(" "+str(s),end="")

