In this task, you need to answer the given multiple-choice question on the general math. Classify your answers into 'a', 'b', 'c', 'd', and 'e'.

Ex Input:
Problem: a & b started a partnership business . a ' s investment was thrice the investment of b and the period of his investment was two times the period of investments of b . if b received rs 5000 as profit , what is their total profit ? 
Options: a ) 28000 , b ) 30000 , c ) 32000 , d ) 35000 , e ) none of these

Ex Output:
d


Ex Input:
Problem: if w is the product of the integers from 1 to 30 , inclusive , what is the greatest integer k for which 3 ^ k is a factor of w ? 
Options: a ) 10 , b ) 12 , c ) 14 , d ) 16 , e ) 18

Ex Output:
c


Ex Input:
Problem: if xy > 0 , 1 / x + 1 / y = 2 , and 1 / xy = 8 , then ( x + y ) / 4 = ? 
Options: a ) 1 / 16 , b ) 1 / 6 , c ) 1 / 5 , d ) 5 , e ) 6

Ex Output:

a