n,k,s=map(int,input().split())
a=[0]*n
if s==10**9:
    for i in range(n):
        if i<k:
            a[i]=s
        else:
            a[i]=(10**9)-1
    print(a)
    exit()
    
for i in range(n):
    if i<k:
        a[i]=s
    else:
        a[i]=10**9
print(a)