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())
l = set()
for i in range(a, max(a+k,b+1)):
  l.add(i)
for i in range(min(b-k, b+1),b+1):
  l.add(i)
[print(i) for i in sorted(list(l))]  
a,b,k = map(int, input().split())
for i in range(a, min(a+k, b+1)):
  print(i)
for i in range(max(a+k,b-k+1),b+1):
  print(i)