#ABC093B

A,B,K = list(map(int, input().split()))

ans = []

if abs(A-B) > K:

    for i in range(K):

        ans.append(A+i)

        ans.append(B-i)

    ans = set(ans)

    ans = sorted(ans)

    for j in ans: 

         print(j)

else:

    for l in range(abs(A-B)+1):

        print((min(A,B) + l))
#ABC093B

A,B,K = list(map(int, input().split()))

ans = []

if B-A + 1 > K*2:

    for i in range(K):

        ans.append(A+i)

        ans.append(B-i)

    ans.sort()

    for j in ans: 

         print(j)

else:

    for l in range(B-A+1):

        print((A + l))
# ABC093B
A, B, K = list(map(int, input().split()))
ans = []
if abs(A - B) > K:
    for i in range(K):
        ans.append(A + i)
        ans.append(B - i)
    ans = set(ans)
    ans = sorted(ans)
    for j in ans:
        print(j)
else:
    for l in range(abs(A - B) + 1):
        print((min(A, B) + l))

# ABC093B
A, B, K = list(map(int, input().split()))
ans = []
if B - A + 1 > K * 2:
    for i in range(K):
        ans.append(A + i)
        ans.append(B - i)
    ans.sort()
    for j in ans:
        print(j)
else:
    for l in range(B - A + 1):
        print((A + l))

-if abs(A - B) > K: +if B - A + 1 > K * 2: -    ans = set(ans) -    ans = sorted(ans) +    ans.sort() -    for l in range(abs(A - B) + 1): -        print((min(A, B) + l)) +    for l in range(B - A + 1): +        print((A + l))