josephine has three chemistry books, three history books, and nine statistics books. she wants to choose one book of each type to study. in how many ways can she choose the three books?