Slow solution for problem 10.