num = int(input("Enter a number: ")) i = 1 while i <= num: print(i) i += 1