Solved medium problem 63.