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_Dr88):
Calculate 7 + 4 - 7.

Question 1 (Question id: q_wYZMGrxV):
Calculate -6 - -3 * 9.

Question 2 (Question id: q_WH298Pd):
Determine the value of m that satisfies: 10*m + 36 = 186 Respond with an integer.

Question 3 (Question id: q_K3kPKxQ):
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: "actions"

Question 4 (Question id: q_7IV8r):
Calculate -1 - -8 - -6.

Question 5 (Question id: q_pxB3):
Find the value of m in the equation: 35*m = 245 Respond with an integer.

Question 6 (Question id: q_YxeveRau):
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 2 jellyfishs, 4 sea slugs, 3 crabs, 1 chicken?
 Respond with an integer.

Question 7 (Question id: q_tLgprNW):
Calculate -6 * -1 + 0.



Produce a JSON object whose top-level keys are the question ids.

The value for each key should be an object that contains the answer in the field 'answer'.
Include an 'answer_type' field (value 'string' or 'integer') for every answer object.
If the response to a question is an integer that is even, also add the field 'half_answer' to the object which contains the answer integer divided by two.
For last-character tasks, provide 'original_string' alongside the answer.

Now provide the result JSON using the described format.

{"ground_truth": {"q_Dr88": {"answer": 4, "answer_type": "integer", "half_answer": 2}, "q_wYZMGrxV": {"answer": 21, "answer_type": "integer"}, "q_WH298Pd": {"answer": 15, "answer_type": "integer"}, "q_K3kPKxQ": {"answer": "s", "answer_type": "string", "original_string": "actions"}, "q_7IV8r": {"answer": 13, "answer_type": "integer"}, "q_pxB3": {"answer": 7, "answer_type": "integer"}, "q_YxeveRau": {"answer": 32, "answer_type": "integer", "half_answer": 16}, "q_tLgprNW": {"answer": 6, "answer_type": "integer", "half_answer": 3}}}