Print all the integers that satisfies the following in ascending order:    * Among the integers between A and B (inclusive), it is either within the K smallest integers or within the K largest integers.
a,b,k = map(int, input().split())
for i in range(k):
    if a+i <= b-i:
        print(a+i)
for i in range(k,-1,-1):
    if b-i > a+i:
        print(b-i)
a,b,k = map(int, input().split())
for i in range(k):
    if a+i <= b-i:
        print(a+i)
for i in range(k-1,-1,-1):
    if b-i > a+i:
        print(b-i)