N, K, S = map(int, input().split())
INF = 10**9

if K == 0:
    if S == INF:
        print(' '.join([str(INF-1) for _ in range(N)]))
    else:
        print(' '.join([str(INF) for _ in range(N)]))
    exit()
if K == 1:
    if S == INF:
        ans = [INF]
        ans.extend([INF-1] * (N - 1))
    else:
        ans = [S]
        ans.extend([INF] * (N - 1))
    print(' '.join([str(x) for x in ans]))
    exit()
if N == K:
    print(' '.join([str(S) for _ in range(N)]))
    exit()


ans = []
if S % 2 == 0:
    k = K // 2 + 1
    ans.extend([S//2, S//2] * k)
    if K % 2 == 0:
        ans.pop()
    ans.extend([INF] * (N-len(ans)))
else:
    k = K // 2 + 1
    ans.extend([S//2, S//2+1] * k)
    if K % 2 == 0:
        ans.pop()
    ans.extend([INF] * (N-len(ans)))


print(' '.join([str(x) for x in ans]))
