a,b,k = list(map(int, input().split()))

ans=[b-i for i in range(k) if b-i>=a]

ans.extend([a+i for i in range(k) if a+k<=b])

ans.sort()

ans=set(ans)

for item in ans:

  print(item)
a,b,k = list(map(int, input().split()))

ans=[b-i for i in range(k) if b-i>=a]

ans.extend([a+i for i in range(k) if a+k<=b])

ans.sort()

ans=set(ans)

print(*ans,sep="\n")

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

a, b, k = list(map(int, input().split()))
ans = [b - i for i in range(k) if b - i >= a]
ans.extend([a + i for i in range(k) if a + k <= b])
ans.sort()
ans = set(ans)
print(*ans, sep="\n")

-for item in ans: -    print(item) +print(*ans, sep="\n")