The task is to generate the correct answer for a given math problem.

Example Input: Problem: a question paper has 2 parts , a & b , each containing 8 questions . if a student has to choose 8 from part a & 4 from part b , in how many ways can he choose the questions ?
Example Output: 70

Example Input: Problem: john invests $ x at the semi - annual constant compounded rate of 2 percent and also does $ 20,000 at the quarterly constant compounded rate of 4 percent . if the interests are the same after 1 year , what is the value of x ? ?
Example Output: 40,402

Example Input: Problem: how many distinct integer values of n satisfy the inequality | | n - 3 | + 4 | ≤ 15 ?
Example Output:
1