import numpy as np

import sys

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

for i in range(k):

    if i <= b-a:

        print((a+i))

for i in range(k):

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

        print((b-k+i+1))

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

c=[0]*2*k

for i in range(k):

    c[i]=min(a+i,b)

    c[k+i]=max(b-i,a)

c=sorted(set(c))



for i in c:

    print(i)
import numpy as np
import sys

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

a, b, k = list(map(int, input().split()))
c = [0] * 2 * k
for i in range(k):
    c[i] = min(a + i, b)
    c[k + i] = max(b - i, a)
c = sorted(set(c))
for i in c:
    print(i)

-import numpy as np -import sys - +c = [0] * 2 * k -    if i <= b - a: -        print((a + i)) -for i in range(k): -    if k - i - 1 <= b - a - k: -        print((b - k + i + 1)) +    c[i] = min(a + i, b) +    c[k + i] = max(b - i, a) +c = sorted(set(c)) +for i in c: +    print(i)