Better use do-while because we already know `in` is readable at this point.  Same applies for similar loops below.