# -*- coding: utf-8 -*-



(a, b, k) = [int(i) for i in input().rstrip().split(" ")]

target = set([i for i in range(a, a+k)]).union([i for i in range(b-k+1, b+1)])

target = sorted([i for i in target if a <= i <= b])

for i in target:

    print(i)
# coding: utf-8



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



ans = []



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

    ans.append(i)



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

    ans.append(i)



for i in sorted(set(ans)):

    print(i)



# -*- coding: utf-8 -*-
(a, b, k) = [int(i) for i in input().rstrip().split(" ")]
target = set([i for i in range(a, a + k)]).union([i for i in range(b - k + 1, b + 1)])
target = sorted([i for i in target if a <= i <= b])
for i in target:
    print(i)

# coding: utf-8
(a, b, k) = list(map(int, input().rstrip().split(" ")))
ans = []
for i in range(a, min(b + 1, a + k)):
    ans.append(i)
for i in range(max(a, b - k + 1), b + 1):
    ans.append(i)
for i in sorted(set(ans)):
    print(i)

-# -*- coding: utf-8 -*- -(a, b, k) = [int(i) for i in input().rstrip().split(" ")] -target = set([i for i in range(a, a + k)]).union([i for i in range(b - k + 1, b + 1)]) -target = sorted([i for i in target if a <= i <= b]) -for i in target: +# coding: utf-8 +(a, b, k) = list(map(int, input().rstrip().split(" "))) +ans = [] +for i in range(a, min(b + 1, a + k)): +    ans.append(i) +for i in range(max(a, b - k + 1), b + 1): +    ans.append(i) +for i in sorted(set(ans)):