problem 31 completed