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