Task: Question Answering
Input (English): Let o be (-7)/(3 + 14/(-4)). Suppose -40 = -3*z + o. Calculate the remainder when 71 is divided by z.
Output (English): 17