n,k,s = map(int,input().split())
if s%2 == 0:
    for i in range(k):
        print(s//2,end=" ")
    for i in range(n-k):
        if n-k-1 == i:
            print(11021021)
            break
        print(11021021,end=" ")
else:
    for i in range(k):
        print(s,end=" ")
    for i in range(n-k):
        if n-k-1 == i:
            print(11021021)
            break
        print(11021021,end=" ")