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_Cmah):
Find the value of m in the equation: 240*m - 333 = 387 Respond with an integer.

Question 1 (Question id: q_JRUB9RQs):
Solve for u: 16*u + 7 = 39 Respond with an integer.

Question 2 (Question id: q_geyoxTy):
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: "our"

Question 3 (Question id: q_sPQ6Kn):
Calculate ( 2 * 7 ).

Question 4 (Question id: q_ZoWbQs):
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 insects, 2 shrimps, 1 cockroach, 1 horse, 2 tigers?
 Respond with an integer.

Question 5 (Question id: q_W1vDiJU4):
Calculate 3 - -3 + 6.

Question 6 (Question id: q_9ZbI4):
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: "what"

Question 7 (Question id: q_Ger0n):
Calculate ( ( 3 + 6 ) ).

Question 8 (Question id: q_928NE):
Determine the value of t that satisfies: 9*t + 28 = 82 Respond with an integer.



Output JSON where all question ids are keys, omitting q_Cmah, q_9ZbI4, q_Ger0n, q_928NE.

Each key’s value must be an object holding an 'answer' field.
Include an 'answer_type' field (value 'string' or 'integer') for every answer object.
For even integer answers, include 'half_answer' equal to answer ÷ 2.
For last-character tasks, provide 'original_string' alongside the answer.
When counting animal legs, include an 'animal_types' list of the distinct animal names (singular, sorted).

Add a top-level 'global_metadata' field that records overall stats:
Include 'num_questions_asked' to record the total number of questions presented.
'num_questions_answered' must hold the number of answered questions.

Now provide the result JSON using the described format.

{"ground_truth": {"q_ZoWbQs": {"answer": 50, "answer_type": "integer", "half_answer": 25, "animal_types": ["cockroach", "horse", "insect", "shrimp", "tiger"]}, "q_W1vDiJU4": {"answer": 12, "answer_type": "integer", "half_answer": 6}, "q_geyoxTy": {"answer": "r", "answer_type": "string", "original_string": "our"}, "q_sPQ6Kn": {"answer": 14, "answer_type": "integer", "half_answer": 7}, "q_JRUB9RQs": {"answer": 2, "answer_type": "integer", "half_answer": 1}, "global_metadata": {"num_questions_asked": 9, "num_questions_answered": 5}}}