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

Example Input: Problem: line q has the equation 5 y 3 x = 30 . if line s is perpendicular to q , has an integer for its y - intercept , and intersects q in the second quadrant , then how many possible line s ' s exist ? ( note : intersections on one of the axes do not count . )
Example Output: 22

Example Input: Problem: a starts business with rs . 3500 and after 8 months , b joins with a as his partner . after a year , the profit is divided in the ratio 2 : 3 . what is b a ™️ s contribution in the capital ?
Example Output: 15750

Example Input: Problem: my grandson is about as many days as my son in weeks , and my grandson is as many months as i am in years . my grandson , my son and i together are 120 years . can you tell me my age in years ?
Example Output:
72