problem 27