N, K, S = map(int, input().split())
if N == K:
    print(*[S] * K)
    quit()
if S % 2 == 1:
    ki = S // 2
    gu = S // 2 + 1
    ans = []
    for i in range(K + 1):
        if i % 2 == 0:
            ans.append(ki)
        else:
            ans.append(gu)
else:
    ans = []
    #K -= 1
    for i in range(K + 1):
        ans.append(S // 2)
for i in range(N - (K + 1)):
    ans.append(S // 2 + 3)
print(*ans)
