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_4EobEH):
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, 4 chickens, 3 jellyfishs?
 Respond with an integer.

Question 1 (Question id: q_yzItZA7):
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 cockroachs, 4 cows, 3 snakes, 1 flatworm?
 Respond with an integer.



Return a JSON with each question id (except for q_4EobEH) as a key.

The value for each key should be an object that contains the answer in the field 'answer'.
Also add the answer type as 'string' or 'integer' to the field 'answer_type' for each 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' should equal the total questions that appeared.
• num_questions_answered: count of questions present in your JSON.

Now provide the result JSON using the described format.

{"ground_truth": {"q_yzItZA7": {"answer": 40, "answer_type": "integer", "half_answer": 20}, "global_metadata": {"num_questions_asked": 2, "num_questions_answered": 1}}}