Solution 13 - D-MATH