num = int(input("enter number")) count = num pr1 = 1 while num > pr1 : pr1 = 1 print(pr1) pri = pr1 + 1 while 0 < pr1 : print(pr1) pr1 = pr1 - 1