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

Ex Input:
Problem: if p and q are both odd prime numbers andp < q , then how many different positive integer factors does 2 pqhave ?

Ex Output:
8


Ex Input:
Problem: a lent rs . 5000 to b for 2 years and rs . 3000 to c for 4 years on simple interest at the same rate of interest and received rs . 1540 in all from both of them as interest . the rate of interest per annum is ?

Ex Output:
7 %


Ex Input:
Problem: there are 15 boys and 10 girls in a class . if three students are selected at random , in how many ways that 1 girl or 2 boys are selected ?

Ex Output:

115