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_7hJWU):
Determine the value of q that satisfies: 4*q + 24 = 104 Respond with an integer.

Question 1 (Question id: q_kw5tDo):
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: "or"

Question 2 (Question id: q_j5vG):
Solve for c: 17*c + 19 = 223 Respond with an integer.

Question 3 (Question id: q_2Qom):
Calculate 9 * 5.

Question 4 (Question id: q_VbWc4):
Solve for r: 30 - 4*r = -10 Respond with an integer.

Question 5 (Question id: q_Qs3h):
Determine the value of a that satisfies: 8*a + 25 = 105 Respond with an integer.

Question 6 (Question id: q_eYw61):
Find the value of l in the equation: 10 - 5*l = -45 Respond with an integer.

Question 7 (Question id: q_VQAwl):
Solve for q: -10*q - 9 = -119 Respond with an integer.

Question 8 (Question id: q_qoMxb):
Determine the value of n that satisfies: 13 - 5*n = -67 Respond with an integer.

Question 9 (Question id: q_95C4u):
Calculate -4 * -8.

Question 10 (Question id: q_ya5kP):
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 1 woodlouse, 2 wasps, 4 insects, 2 humans, 3 crabs?
 Respond with an integer.



Your output must be a JSON mapping every question id to its answer info.

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.
If the response to a question is a string, add a 'first_char' field containing its first character.

Beyond the question-id fields, add a 'global_metadata' object with summary information:
• num_questions_asked – total number of questions originally shown.
• questions_with_integer_answers – list of question ids whose answers are integers (empty list if none).

Now provide the result JSON using the described format.

{"ground_truth": {"q_7hJWU": {"answer": 20, "answer_type": "integer", "half_answer": 10}, "q_kw5tDo": {"answer": "r", "answer_type": "string", "first_char": "r"}, "q_j5vG": {"answer": 12, "answer_type": "integer", "half_answer": 6}, "q_2Qom": {"answer": 45, "answer_type": "integer"}, "q_VbWc4": {"answer": 10, "answer_type": "integer", "half_answer": 5}, "q_Qs3h": {"answer": 10, "answer_type": "integer", "half_answer": 5}, "q_eYw61": {"answer": 11, "answer_type": "integer"}, "q_VQAwl": {"answer": 11, "answer_type": "integer"}, "q_qoMxb": {"answer": 16, "answer_type": "integer", "half_answer": 8}, "q_95C4u": {"answer": 32, "answer_type": "integer", "half_answer": 16}, "q_ya5kP": {"answer": 84, "answer_type": "integer", "half_answer": 42}, "global_metadata": {"num_questions_asked": 11, "questions_with_integer_answers": ["q_7hJWU", "q_j5vG", "q_2Qom", "q_VbWc4", "q_Qs3h", "q_eYw61", "q_VQAwl", "q_qoMxb", "q_95C4u", "q_ya5kP"]}}}