n, k, s = map(int, input().split())
l = [0] * n
count = 1
l[0] = s
a = 0
if k == 0:
    for i in range(n):
        l[i] = int(s / 2) + 2
else:
    if s == 1:
        for i in range(k):
            l[i] = 1
        for i in range(k, n):
            l[i] = s + 1
    else:
        if k - 1 == 0:
            for i in range(1, n):
                l[i] = int(s / 2) + 2
        else:
            l[1] = int(s / 2)
            a = min(n, 2 + k - 1)
            for i in range(2, a):
                l[i] = s - l[i - 1]
            if a < n:
                for i in range(a, n):
                    l[i] = int(s / 2) + 1
                    
print(*l)
