solve problem 33