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

l = []

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

    if i not in l:

        l.append(i)

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

    if i not in l:

        l.append(i)

l.sort()

for i in l:

    print(i)

import collections

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

ans = [a, b]

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

    if i not in ans:

        ans.append(i)

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

    if i not in ans:

        ans.append(i)

ans = collections.Counter(ans).most_common()

ans.sort()

for i in ans:

    print((i[0]))

a, b, k = list(map(int, input().split()))
l = []
for i in range(a, min(a + k, b + 1)):
    if i not in l:
        l.append(i)
for i in range(b, max(b - k, a - 1), -1):
    if i not in l:
        l.append(i)
l.sort()
for i in l:
    print(i)

import collections

a, b, k = list(map(int, input().split()))
ans = [a, b]
for i in range(a, min(a + k, b)):
    if i not in ans:
        ans.append(i)
for i in range(b, max(b - k, a), -1):
    if i not in ans:
        ans.append(i)
ans = collections.Counter(ans).most_common()
ans.sort()
for i in ans:
    print((i[0]))

+import collections + -l = [] -for i in range(a, min(a + k, b + 1)): -    if i not in l: -        l.append(i) -for i in range(b, max(b - k, a - 1), -1): -    if i not in l: -        l.append(i) -l.sort() -for i in l: -    print(i) +ans = [a, b] +for i in range(a, min(a + k, b)): +    if i not in ans: +        ans.append(i) +for i in range(b, max(b - k, a), -1): +    if i not in ans: +        ans.append(i) +ans = collections.Counter(ans).most_common() +ans.sort() +for i in ans: +    print((i[0]))