N,K,S = map(int, open(0).read().split())
if K == 0:
    ans = [S+1] * N
    print(*ans)
else:
    p = N - K + 1
    if S <= N:
        ans = ([S]*K) + ([S+1]*(N-K))
        print(*ans)
    else:
        ans = [S//p] * N
        if S % p == 0:
            print(*ans)
        else:
            per = [0] * p
            for i in range(S%p):
                per[i] += 1
            for i in range(N):
                ans[i] += per[i%p]
            print(*ans)