start = int(input("enter start: "))
end = int(input("enter end: "))

if start <= end:
    for i in range(start, end + 1):
        print(i)
  
elif start >= end:
    for i in range (start, end-1, -1):
        print(i)