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_zVKAow):
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 sheep, 2 lions, 2 tigers, 4 cats, 1 scorpion?
 Respond with an integer.

Question 1 (Question id: q_YbubYjGr):
Solve for n: -11*n - 8 = -173 Respond with an integer.

Question 2 (Question id: q_52YQz):
Calculate -3 + 4.



Output JSON where all question ids are keys, omitting q_zVKAow.

The value for each key should be an object that contains the answer in the field 'answer'.
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.

Add a top-level 'global_metadata' field that records overall stats:
Include 'num_questions_asked' to record the total number of questions presented.
• num_questions_answered – number you actually 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_YbubYjGr": {"answer": 15}, "q_52YQz": {"answer": 1}, "global_metadata": {"num_questions_asked": 3, "num_questions_answered": 2, "questions_with_integer_answers": ["q_YbubYjGr", "q_52YQz"]}}}