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).

Input: Consider Input: Let u = -26 - -12. Let d = u - -24. What is the units digit of (2 - d)*2/(-4)?

Output: 4


Input: Consider Input: Let q(w) = w**3 - 7*w**2 - 9*w + 10. Let p be q(8). Suppose -32 = -4*g - 3*a, -2*a - 3 = -p*g - 1. Solve -g + 3 = t for t.

Output: -2


Input: Consider Input: Four letters picked without replacement from msssmssssm. What is prob of picking 1 s and 3 m?


Output: 1/30