XyzThere is tough because of nested if, I should try to avoid using the continue keyword.