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_Qn4h):
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 ducks, 2 chickens, 2 jellyfishs?
 Respond with an integer.

Question 1 (Question id: q_4hBu):
Calculate -7 * -2 - -7.

Question 2 (Question id: q_kEk8FIP):
Find the value of d in the equation: 15*d - 13 = 152 Respond with an integer.



Create a JSON object keyed by every question id except q_4hBu.

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.
For even integer answers, include 'half_answer' equal to answer ÷ 2.

Add a top-level 'global_metadata' field that records overall stats:
• num_questions_asked – total number of questions originally shown.
'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_Qn4h": {"answer": 10, "answer_type": "integer", "half_answer": 5}, "q_kEk8FIP": {"answer": 11, "answer_type": "integer"}, "global_metadata": {"num_questions_asked": 3, "questions_with_integer_answers": ["q_Qn4h", "q_kEk8FIP"]}}}