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

if (s != 10**9) or (n==k):

    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)
    for j in range(k+1,n):
        a.append(1)

    b=map(str,a)

    print(" ".join(b))