N,K,S=map(int,input().split())

if S!=1:
    ANS=[1 for i in range(N)]
    for i in range(K):
        ANS[i]=S
elif S==1:
    ANS=[2 for i in range(N)]
    for i in range(K):
        ANS[i]=S
print(*ANS)