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:
Let a(y) = y**3 - 3*y**2 + 7*y - 10. Let m be a(2). Let k(p) = -p**3 + 2*p**2 + p + 1. Let r be k(2). Solve m = r*d + 16 - 1 for d.
answer:
-5


question:
Let y(a) = -a + 5. Let m be y(3). Solve f + 16 = -0*f - 4*c, -3*c - 12 = -m*f for f.
answer:
0


question:
Let s(d) = 4*d**3 - 2*d**2 - 3*d + 7. Let h be s(3). Calculate the highest common factor of 4 and h.
answer:

4