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



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

    if a <= i <= a + k - 1 or b - k + 1 <= i <= b:

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



ans_A = []

ans_B = []

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

    ans_A.append(i)

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

    ans_B.append(i)

ans = sorted(list(set(ans_A) | set(ans_B)))



for i in ans:

    print(i)
a, b, k = list(map(int, input().split()))
for i in range(a, b + 1):
    if a <= i <= a + k - 1 or b - k + 1 <= i <= b:
        print(i)

a, b, k = list(map(int, input().split()))
ans_A = []
ans_B = []
for i in range(a, min(b, a + k)):
    ans_A.append(i)
for i in range(max(a, b - k + 1), b + 1):
    ans_B.append(i)
ans = sorted(list(set(ans_A) | set(ans_B)))
for i in ans:
    print(i)

-for i in range(a, b + 1): -    if a <= i <= a + k - 1 or b - k + 1 <= i <= b: -        print(i) +ans_A = [] +ans_B = [] +for i in range(a, min(b, a + k)): +    ans_A.append(i) +for i in range(max(a, b - k + 1), b + 1): +    ans_B.append(i) +ans = sorted(list(set(ans_A) | set(ans_B))) +for i in ans: +    print(i)