Exercise 7-11 (Par.chooseN)