Solved problem 7.

104743