problem 27 solved