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=[int(x) for x in input().split()]
print(a,b,k)#
ans = []
for i in range(k):
  if a+i<=b:ans.append(a+i)
  if b-i>=a:ans.append(b-i)
#print(ans)#
ans = list(set(ans))
ans.sort()
for e in ans: print(e)

a,b,k=[int(x) for x in input().split()]
#print(a,b,k)#
ans = []
for i in range(k):
  if a+i<=b:ans.append(a+i)
  if b-i>=a:ans.append(b-i)
#print(ans)#
ans = list(set(ans))
ans.sort()
for e in ans: print(e)
