problem 27
problem 27 solved