Task: Question Answering
Input (English): Let f(y) = -y**3 + 5*y**2 + 6*y + 5. Let v be f(6). Suppose 123 = v*q - 52. What is the remainder when q is divided by 18?
Output (English): 17