N, K, S = map(int, input().split())

d = S // 2
res = []

if S % 2 == 1:
    res.append(d)
    for x in range(K):
        m = 0 if x % 2 == 1 else 1
        res.append(d + m)
else:
    res.append(d)
    for x in range(K):
        res.append(d)

q = N - (K + 1)

for i in [1,2,3,4,5,6]:
    if i != S and i + d != S and i + d + 1 != S:
        fix = i
        break

for _q in range(q):
    res.append(fix)

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