problem 36 solved