You have a test paper consisting of 35 questions.

The test paper consists of 4 Parts - A,B,C and D.

Part A consists of 7 questions.

Part B has 8 questions.

Part C has 10 questions.

Part D has 10 questions.

From part A you need to do atleast 3 questions.

From part B and C together you need to do 5 questions atleast.

From Part C and D together you can do atmost 7 questions.

You need to attempt a total of 21 questions from the whole paper.

in how many ways can you attempt the test paper?