problem 28 to 30