A question paper has 3 parts A, B, C. Part A contains 7 questions, part B contains 5 questions and Part C contains 3 questions. If a candidate is allowed to answer not more than 4 questions from part A; not more than 3 questions from part B and not more than 2 questions from part C, then the number of ways in which a candidate can answer exactly 7 questions is: