# coding: utf-8
from math import floor, ceil
N, K, S = map(int, input().split())
L = []
if K == 0:
    for i in range(N):
        if i % 2 == 0:
            L.append(S+1)
        else:
            L.append(S+2)
elif 2*K <= N:
    for i in range(N):
        if i % 2 == 0:
            L.append(S)
        else:
            L.append(1 if S != 0 else 100)
    print(*L)
else:
    t1, t2 = ceil(S/2), floor(S/2)
    s1, s2 = ceil(S/2) - 1, floor(S/2) + 1
    k = 0
    for i in range(N):
        if k < K - 1:
            if i % 2 == 0:
                L.append(t1)
            else:
                L.append(t2)
        elif k == K - 1:
            if i % 2 == 0:
                L.append(s1)
            else:
                L.append(s2)
        else:
            if i % 2 == 0:
                L.append(t1+2)
            else:
                L.append(t2+2)
        if i % 2 == 1:
            k += 1
    print(*L)