Solved hard problem 79.