switched problem 15 to use nCr