def main():
    INF = 10**9 + 7
    N, K, S = (int(i) for i in input().split())
    if N == K:
        ans = [S]*K
    elif S % 2 == 1:
        v1, v2 = S//2, 0--S//2
        ans = [v1 if i % 2 == 0 else v2 for i in range(K+1)] + [INF]*(N-K-1)
    else:
        ans = [S//2]*(K+1) + [INF]*(N-K-1)
    return print(*ans)


if __name__ == '__main__':
    main()
