N, K, S = map(int, input().split())
INF = 10**9
ans = []
if S % 2 == 0:
    k = K // 2 + 1
    s = S // 2
    ans.extend([s] * k)
    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]))
