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

if a + 2 * k > 1 + b:

    for i in range(a, b + 1):

        print(i)

else:

    for i in range(a, a + k):

        print(i)

    for i in range(b - k + 1, b + 1):

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

for i in sorted(list(set(range(a, min(a + k, b + 1))) | set(range(max(a, b - k + 1), b + 1)))):

    print(i)
a, b, k = list(map(int, input().split()))
if a + 2 * k > 1 + b:
    for i in range(a, b + 1):
        print(i)
else:
    for i in range(a, a + k):
        print(i)
    for i in range(b - k + 1, b + 1):
        print(i)

a, b, k = list(map(int, input().split()))
for i in sorted(
    list(set(range(a, min(a + k, b + 1))) | set(range(max(a, b - k + 1), b + 1)))
):
    print(i)

-if a + 2 * k > 1 + b: -    for i in range(a, b + 1): -        print(i) -else: -    for i in range(a, a + k): -        print(i) -    for i in range(b - k + 1, b + 1): -        print(i) +for i in sorted( +    list(set(range(a, min(a + k, b + 1))) | set(range(max(a, b - k + 1), b + 1))) +): +    print(i)