number = input("Enter a number: ") count = int(number) while count > 0 : print(count) count = count - 1 while count < int(number) : print(count) count = count + 1