Solved problem 6.

25164150