import sys





def solve():

    readline = sys.stdin.buffer.readline

    mod = 10 ** 9 + 7

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

    if a == b:

        print(a)

    else:

        ans = set()

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

            ans.add(i)

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

            ans.add(i)

        print((*sorted(list(ans))))





if __name__ == '__main__':

    solve()

import sys





def solve():

    readline = sys.stdin.buffer.readline

    mod = 10 ** 9 + 7

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

    st = set()

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

        st.add(i)

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

        st.add(i)

    for v in sorted(st):

        print(v)





if __name__ == '__main__':

    solve()

import sys


def solve():
    readline = sys.stdin.buffer.readline
    mod = 10**9 + 7
    a, b, k = list(map(int, readline().split()))
    if a == b:
        print(a)
    else:
        ans = set()
        for i in range(a, min(a + k, b)):
            ans.add(i)
        for i in range(b, max(b - k, a), -1):
            ans.add(i)
        print((*sorted(list(ans))))


if __name__ == "__main__":
    solve()

import sys


def solve():
    readline = sys.stdin.buffer.readline
    mod = 10**9 + 7
    a, b, k = list(map(int, readline().split()))
    st = set()
    for i in range(a, min(a + k, b + 1)):
        st.add(i)
    for i in range(b, max(b - k, a - 1), -1):
        st.add(i)
    for v in sorted(st):
        print(v)


if __name__ == "__main__":
    solve()

-    if a == b: -        print(a) -    else: -        ans = set() -        for i in range(a, min(a + k, b)): -            ans.add(i) -        for i in range(b, max(b - k, a), -1): -            ans.add(i) -        print((*sorted(list(ans)))) +    st = set() +    for i in range(a, min(a + k, b + 1)): +        st.add(i) +    for i in range(b, max(b - k, a - 1), -1): +        st.add(i) +    for v in sorted(st): +        print(v)