03: finish 3 - switch for to while loop