Original solution.
Solution 1.07