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=set([i for i in range(a,a+k+1)])
B=set([i for i in range(b-k,b+1)])
print(*sorted(A|B))
a,b,k=map(int,input().split())
A=set([i for i in range(a,min(a+k,b))])
B=set([i for i in range(max(a,b-k+1),b+1)])
print(*sorted(A|B),sep="\n")