Solve the mathematical challenge