n,k,s = map(int,input().split(" "))
count = 0
ar = []
for i in range(n):
    if count == k:
        if s == 10 ** 9:
            ar.append(1)
        else:   
            ar.append(s + 1)
    else:
        ar.append(s)
        count += 1
for i in range(n-1):
    print(ar[i],end=" ")
print(ar[n-2])