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_6D4xq):
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 4 humans, 1 elephant, 2 dogs, 1 praying mantis?
 Respond with an integer.

Question 1 (Question id: q_Tl7zA2):
Calculate 9 / 1.

Question 2 (Question id: q_oAs18HW):
Calculate -7 * -9.

Question 3 (Question id: q_nY2K):
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 butterflys, 3 scorpions, 4 horses, 3 shrimps?
 Respond with an integer.



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

Each key’s value must be an object holding an 'answer' field.
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.

Beyond the question-id fields, add a 'global_metadata' object with summary information:
• num_questions_asked – total number of questions originally shown.
Add 'num_questions_answered' showing how many questions you answered.
• 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_nY2K": {"answer": 82, "half_answer": 41}, "q_oAs18HW": {"answer": 63}, "q_Tl7zA2": {"answer": 9}, "global_metadata": {"num_questions_asked": 4, "num_questions_answered": 3, "questions_with_integer_answers": ["q_nY2K", "q_oAs18HW", "q_Tl7zA2"]}}}