number = int(input("Enter a number: "))
base = 1
while base != (number+1) :
    print(base, '', end=(''))
    base = base+1