a,b,k = list(map(int,input().split()))

A=[]

for i in range(a,min(a+k,b+1)):

    A.append(i)

B=[]

for i in range(b,max(b-k,a-1),-1):

    B.append(i)

C=list(set(A+B))

C.sort(reverse=False)

for j in range(len(C)):

    print((C[j]))
a,b,k = list(map(int,input().split()))

A=[]

B=[]

for i in range(a,min(a+k,b+1)):

    A.append(i)

for j in range(b,max(b-k,a-1),-1):

    A.append(j)

B=list(set(A))

B.sort(reverse=False)

for p in range(len(B)):

    print((B[p]))
a, b, k = list(map(int, input().split()))
A = []
for i in range(a, min(a + k, b + 1)):
    A.append(i)
B = []
for i in range(b, max(b - k, a - 1), -1):
    B.append(i)
C = list(set(A + B))
C.sort(reverse=False)
for j in range(len(C)):
    print((C[j]))

a, b, k = list(map(int, input().split()))
A = []
B = []
for i in range(a, min(a + k, b + 1)):
    A.append(i)
for j in range(b, max(b - k, a - 1), -1):
    A.append(j)
B = list(set(A))
B.sort(reverse=False)
for p in range(len(B)):
    print((B[p]))

+B = [] -B = [] -for i in range(b, max(b - k, a - 1), -1): -    B.append(i) -C = list(set(A + B)) -C.sort(reverse=False) -for j in range(len(C)): -    print((C[j])) +for j in range(b, max(b - k, a - 1), -1): +    A.append(j) +B = list(set(A)) +B.sort(reverse=False) +for p in range(len(B)): +    print((B[p]))