While loops with break statements
Removing unnecessary replacements
Continue and break statements