N,K,S=map(int,input().split())
if K!=0:
    print(S,end="")
    for i in range(1,K):
        print("",0,end="")
    for i in range(K,N):
        print("",S+1,end="")
else:
    for i in range(N-1):
        print(0,"",end="")
    print(0)
