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_yL3AA):
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 3 jellyfishs, 2 sea slugs, 3 ants, 3 wasps?
 Respond with an integer.

Question 1 (Question id: q_WmFSQ):
How many times does the letter "h" appear in the text: "years he"? Respond with an integer.

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



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

For every question id, supply an object whose 'answer' field stores the solution.
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, add the field 'additional_answer_info' containing 'half_answer' (answer ÷ 2) and 'double_answer' (answer × 2).
If the response to a question is a string, add a 'first_char' field containing its first character.

Add a top-level 'global_metadata' field that records overall stats:
• num_questions_asked: how many questions were asked in total.
'questions_with_integer_answers' should enumerate every id whose answer is an integer.

Now provide the result JSON using the described format.

{"ground_truth": {"q_yL3AA": {"answer": 36, "answer_type": "integer", "additional_answer_info": {"half_answer": 18, "double_answer": 72}}, "q_WmFSQ": {"answer": 1, "answer_type": "integer"}, "q_oUwhVnVi": {"answer": 7, "answer_type": "integer"}, "global_metadata": {"num_questions_asked": 3, "questions_with_integer_answers": ["q_yL3AA", "q_WmFSQ", "q_oUwhVnVi"]}}}