problem 25 to 27