instruction:
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).
question:
Suppose -3*n + 16 = -d, 0*n - 5*d = 3*n - 10. Let k = n + -3. Suppose 0 = k*g - g - 14. What is the greatest common factor of 28 and g?
answer:
14


question:
Let r = 4 - 8. Let p = r - -4. Suppose c + 2*x - 82 = -3*c, 4*c + 5*x - 97 = p. What is the units digit of c?
answer:
8


question:
Suppose 0*q + 8 = 2*q. Suppose 0 = 5*a - 2 - 8. Let r(j) = -j**2 - 7*j - 6. Let h be r(-5). Solve -h*l - 10 = l, -a*l = -2*c + q for c.
answer:

0