Check (> n 100) only once.
Refactoring.
Add comments.