problem 21 and 23