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())

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

ans=list(set(list(i for i in range(a,a+k,1) if i<=b)+list(j for j in range(b,b-k,-1) if j>=a)))

for l in sorted(ans):
    print(l)

