from collections import OrderedDict

if __name__ == "__main__":

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



    output = OrderedDict()



    for i in range(k):

        if a<= a+i <= b:

            output[a+i] = a+i

    

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

        if a<= b+i <= b:

            output[b+i] = b+i

    

    for o in list(output.keys()):

        print(o)

def main():

    A, B, K = list(map(int, input().split()))



    ans = list()



    ans.extend(list(range(A, A+K)))

    ans.extend(list(range(B, B-K, -1)))



    ans = list(set(ans))

    ans.sort()

    for a in ans:

        if A <= a <= B:

            print(a)





if __name__ == "__main__":

    main()

from collections import OrderedDict

if __name__ == "__main__":
    a, b, k = list(map(int, input().split()))
    output = OrderedDict()
    for i in range(k):
        if a <= a + i <= b:
            output[a + i] = a + i
    for i in range(-k + 1, 1):
        if a <= b + i <= b:
            output[b + i] = b + i
    for o in list(output.keys()):
        print(o)

def main():
    A, B, K = list(map(int, input().split()))
    ans = list()
    ans.extend(list(range(A, A + K)))
    ans.extend(list(range(B, B - K, -1)))
    ans = list(set(ans))
    ans.sort()
    for a in ans:
        if A <= a <= B:
            print(a)


if __name__ == "__main__":
    main()

-from collections import OrderedDict +def main(): +    A, B, K = list(map(int, input().split())) +    ans = list() +    ans.extend(list(range(A, A + K))) +    ans.extend(list(range(B, B - K, -1))) +    ans = list(set(ans)) +    ans.sort() +    for a in ans: +        if A <= a <= B: +            print(a) + -    a, b, k = list(map(int, input().split())) -    output = OrderedDict() -    for i in range(k): -        if a <= a + i <= b: -            output[a + i] = a + i -    for i in range(-k + 1, 1): -        if a <= b + i <= b: -            output[b + i] = b + i -    for o in list(output.keys()): -        print(o) +    main()