a = int(input("")) i = 0 for _ in range(a): i = i+1 print(i) for _ in range(i-1): i = i-1 print(i)
this is a stupid answer