x =int(input("Enter a number:"))

while x > 0 :
    x = x + 1
    print(x)

while x < 1 :
    x = x - 1
    print(x)