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

se=set(set(range(a,a+k))|set(range(b-k+1,b+1)))

li=[x for x in se if a<=x<=b]

li=sorted(li)

print(*li,sep="\n")

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

s=set()

for i in range(k):

    if(a+i<=b):s.add(a+i)

    if(b-i>=a):s.add(b-i)

s=sorted(s)

for x in s:

    print(x)
a, b, k = map(int, input().split())
se = set(set(range(a, a + k)) | set(range(b - k + 1, b + 1)))
li = [x for x in se if a <= x <= b]
li = sorted(li)
print(*li, sep="\n")

a, b, k = list(map(int, input().split()))
s = set()
for i in range(k):
    if a + i <= b:
        s.add(a + i)
    if b - i >= a:
        s.add(b - i)
s = sorted(s)
for x in s:
    print(x)

-a, b, k = map(int, input().split()) -se = set(set(range(a, a + k)) | set(range(b - k + 1, b + 1))) -li = [x for x in se if a <= x <= b] -li = sorted(li) -print(*li, sep="\n") +a, b, k = list(map(int, input().split())) +s = set() +for i in range(k): +    if a + i <= b: +        s.add(a + i) +    if b - i >= a: +        s.add(b - i) +s = sorted(s) +for x in s: +    print(x)