n, k, s = map(int, input().split())

a = [1]

if k == 1:
    for i in range(n-1):
        if i==0:
            a.append(s-1)
        else:
            a.append(s+1)
    print(*a)
else:
    for i in range(n-1):
        if k > 0:
            a.append(s-a[-1])
            k -= 1
        elif k == 0:
            a.append(s+1)
    print(*a)