n, k, s = map(int, input().split())
if s == 10**9:
    a = 10**9-1
else:
    a = 10**9
l = [a for _ in range(n)]

if k == n:
    print(' '.join(map(str, [s for _ in range(n)])))
elif k == 0:
    print(' '.join(map(str, l)))
else:
    if s % 2 == 0:
        l[0:k+1] = [s//2 for _ in range(k+1)]
    else:
        s, t = (s-1)//2, (s+1)//2
        for i in range(k+1):
            if i % 2 == 0:
                l[i] = s
            else:
                l[i] = t

    print(' '.join(map(str, l)))
