def sri(d,v):
    for i in range(d,v):
        print(i)
    print(d+v)
a=int(input())
b=int(input())
sri(a,b)