Best solutions for Math Contest