n,k,s=map(int,input().split())
print(s,end=" ")
for i in range(k-1):
    print(0,end=" ")
if s==10**9:
    for i in range(n-k):
        print(1,end=" ")
else:
    for i in range(n-k):
        print(1000000000,end=" ")