Problem 35 solution and 36 start