n,k,s=map(int,input().split())
a=[]

if n==k :
    for i in range(k):
        a.append(s)
        
    b=map(str,a)

    print(" ".join(b))

elif s != 10**9:

    for i in range(k):
        a.append(s)

    for j in range(k,n):
        a.append(s+1)

    b=map(str,a)

    print(" ".join(b))

else:
    for i in range(k):
        a.append(s)
    a.append(1)
    for j in range(k+1,n):
        a.append(0)

    b=map(str,a)

    print(" ".join(b))
