5.2.3 problem 52