i = int(input())
j = 0
while j <= i:
    print(j)
    j += 1

0cc4769cbfe42b1db85b1b0983be4adb937b2b10
<mask token>

<mask token>
while j <= i:
    print(j)
    j += 1

i = int(input())
j = 0
while j <= i:
    print(j)
    j += 1
