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

s=list(range(a,b+1))

for i in sorted(set(s[:k]) | set(s[-k:])):

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

l=list(range(a,b+1))

la= set(l[:k]) | set(l[-k:])

for i in (sorted(la)):

  print(i)
a, b, k = list(map(int, input().split()))
s = list(range(a, b + 1))
for i in sorted(set(s[:k]) | set(s[-k:])):
    print(i)

a, b, k = list(map(int, input().split()))
l = list(range(a, b + 1))
la = set(l[:k]) | set(l[-k:])
for i in sorted(la):
    print(i)

-s = list(range(a, b + 1)) -for i in sorted(set(s[:k]) | set(s[-k:])): +l = list(range(a, b + 1)) +la = set(l[:k]) | set(l[-k:]) +for i in sorted(la):