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