a,b,k=map(int,input().split());r=range(a,b+1);print(*sorted(set(r[:k])|set(r[-k:])),sep='\n')

a,b,k=list(map(int,input().split()));r=list(range(a,b+1));print((*sorted(set(r[:k])|set(r[-k:]))))
a, b, k = map(int, input().split())
r = range(a, b + 1)
print(*sorted(set(r[:k]) | set(r[-k:])), sep="\n")

a, b, k = list(map(int, input().split()))
r = list(range(a, b + 1))
print((*sorted(set(r[:k]) | set(r[-k:]))))

-a, b, k = map(int, input().split()) -r = range(a, b + 1) -print(*sorted(set(r[:k]) | set(r[-k:])), sep="\n") +a, b, k = list(map(int, input().split())) +r = list(range(a, b + 1)) +print((*sorted(set(r[:k]) | set(r[-k:]))))