num = int(input("Enter a number: ")) for i in range(0, num): print(i+1)