Solved medium problem 73.