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