TASK DEFINITION: Given a simple high-school level math question, you are required to solve it and provide the final answer. The final answer is always a single number. These questions can range from a variety of topics like simple arithmetic, solving equations, converting a quantity from one unit to another, finding remainders/GCD/LCM, finding probabilities etc. Each question has only one correct answer. This answer can be a positive or negative integer, a fraction or a decimal number. If the answer is a negative number use the hyphen (e.g. -42) symbol for the minus sign. For decimal numbers, do not add extra zeros after the decimal point. For fractional numbers, separate the numerator and denominator using a forward slash (e.g. 3/25).
PROBLEM: Suppose -16 = 4*q - 0*q. Let z be (-50)/q + (-1)/(-2). Suppose -2*a + 37 = -67. Calculate the greatest common factor of z and a.

SOLUTION: 13

PROBLEM: What is next in -180, -373, -592, -849, -1156, -1525?

SOLUTION: -1968

PROBLEM: Let s(z) = -z**3 + 4*z**2 + 7*z + 2. Let g be s(5). Suppose -3*h + 155 + 526 = 0. Let b = 323 - h. What is the highest common divisor of g and b?

SOLUTION:
12