num = int(input("Enter a number below 50: ")) for i in range(50,num-1,-1): print(i) input("Press enter to continue")