Solved hard problem 53.