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