count = 0
while count < 5:
    print(count)
    count += 1
else:
    print(count)


count = 0
while count < 5:
    print(count)
    count += 1
    if count == 3:
        break


count = 0
while count < 5:
    if count == 3:
        count += 1
        continue
    print(count)
    count += 1
