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

Example Input: Problem: when positive integer n is divided by positive integer p , the quotient is 18 , with a remainder of 7 . when n is divided by ( p + 3 ) , the quotient is 15 and the remainder is 1 . what is the value of n ?
Example Output: 20

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: when positive integer x is divided by 11 , the quotient is y and the remainder is 4 . when 2 x is divided by 8 , the quotient is 3 y and the remainder is 1 . what is the value of 13 y – x ?
Example Output:
3