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_G297y):
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 cats, 2 lobsters, 3 elephants, 2 snakes?
 Respond with an integer.

Question 1 (Question id: q_C65g):
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 tigers, 1 bee, 2 spiders, 1 wasp, 2 deers?
 Respond with an integer.

Question 2 (Question id: q_8UrxeEP):
Calculate -2 * -6 - -7.

Question 3 (Question id: q_gxTE):
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 praying mantiss, 1 cricket, 4 sheeps, 3 sea slugs?
 Respond with an integer.



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

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).
For string answers, include 'first_char' with the answer’s initial letter.

Add a top-level 'global_metadata' field that records overall stats:
Include 'num_questions_asked' to record the total number of questions presented.
Fill 'questions_with_integer_answers' with the ids of integer-answer questions (leave empty when none).

Now provide the result JSON using the described format.

{"ground_truth": {"q_G297y": {"answer": 44, "answer_type": "integer", "additional_answer_info": {"half_answer": 22, "double_answer": 88}}, "q_C65g": {"answer": 52, "answer_type": "integer", "additional_answer_info": {"half_answer": 26, "double_answer": 104}}, "q_8UrxeEP": {"answer": 19, "answer_type": "integer"}, "q_gxTE": {"answer": 34, "answer_type": "integer", "additional_answer_info": {"half_answer": 17, "double_answer": 68}}, "global_metadata": {"num_questions_asked": 4, "questions_with_integer_answers": ["q_G297y", "q_C65g", "q_8UrxeEP", "q_gxTE"]}}}