P23, P24: Added Mathematica solution.