A test has two parts, A and B, each containing 10 questions. A student needs to choose 8 questions from part A and 4 questions from part B. In how many ways can he do that?