od= int(input("podaj od"))
do= int(input("podaj do"))
if (od<do):
    for i in range(od,do):
        print(i)
else:
    for i in range(od,do,-1):
        print(i)
#else to drugi warunek jeżeli nie spełni if to może spełni else
