number = int(input("Enter a number: ")) for meow in range(0, number): print(meow+1) for meow in range(1, number): print(number - meow)