Here is a set of basic questions producing integer or string outputs. Answer them and format the result precisely with the JSON instructions provided:

Question 0 (Question id: q_mHrhCdDM):
Determine the value of n that satisfies: 12 - 16*n = -100 Respond with an integer.

Question 1 (Question id: q_U0bBIQ):
Solve for y: 27 - 255*y = -2013 Respond with an integer.

Question 2 (Question id: q_lxo1ykK):
Solve for a: 12*a + 17 = 89 Respond with an integer.

Question 3 (Question id: q_AkMxKB):
Your task is to count how many legs there are in total when given a list of animals.

Now, how many legs are there in total if you have 4 woodlouses, 4 cows, 3 grasshoppers, 3 shrimps?
 Respond with an integer.

Question 4 (Question id: q_Ph4Cq):
Your job is to return the last character of a string as a string. For example, the last char of "hello" is "o". Return the last character of the following string: "sport."

Question 5 (Question id: q_gKkbC):
Calculate -2 + -3 + 9.

Question 6 (Question id: q_MLJe):
How many times does the letter "m" appear in the text: "mirror of"? Respond with an integer.

Question 7 (Question id: q_gwzwsJL):
Your job is to return the last character of a string as a string. For example, the last char of "hello" is "o". Return the last character of the following string: "hospitals"



Return a JSON with each question id (except for q_U0bBIQ, q_gKkbC) as a key.

Each key’s value must be an object holding an 'answer' field.
For even integers, nest 'half_answer' and 'double_answer' inside an additional 'additional_answer_info' field in the answer object.
For string answers, include 'first_char' with the answer’s initial letter.
If the question asks for the last character of a string, add an 'original_string' field containing the source string.

Now provide the result JSON using the described format.

{"ground_truth": {"q_mHrhCdDM": {"answer": 7}, "q_AkMxKB": {"answer": 120, "additional_answer_info": {"half_answer": 60, "double_answer": 240}}, "q_Ph4Cq": {"answer": ".", "first_char": ".", "original_string": "sport."}, "q_MLJe": {"answer": 1}, "q_lxo1ykK": {"answer": 6, "additional_answer_info": {"half_answer": 3, "double_answer": 12}}, "q_gwzwsJL": {"answer": "s", "first_char": "s", "original_string": "hospitals"}}}