n, k ,s = map(int, input().split())
v=[]
if n==k:
    for i in range(n):
        v.append(s)
    print(*v)
else:
    if s%2==1:
        for i in range(k+1):
            if i%2==0:
                v.append(s//2)
            else:
                v.append(s//2+1)

        for i in range(n-k-1):
            v.append(10**9)
        print(*v)
    else:
        for i in range(k+1):
            v.append(s//2)
        for i in range(n-k-1):
            v.append(10**9)

        print(*v)