problem 35 solved