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_v4a7Y):
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 spiders, 4 cows, 2 ducks, 2 shrimps, 3 cats?
 Respond with an integer.

Question 1 (Question id: q_7ivkC):
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 sea slugs, 2 woodlouses, 3 beetles, 2 jellyfishs, 1 grasshopper?
 Respond with an integer.

Question 2 (Question id: q_Htkd02b8):
Calculate 1 + 3.

Question 3 (Question id: q_D8ua0sjE):
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 giraffes, 4 fireflys, 3 dogs, 2 leechs?
 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.
For even integer answers, include 'half_answer' equal to 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:
Set 'num_questions_asked' to the count of questions originally displayed.
Add 'num_questions_answered' showing how many questions you answered.

Now provide the result JSON using the described format.

{"ground_truth": {"q_v4a7Y": {"answer": 76, "answer_type": "integer", "half_answer": 38}, "q_7ivkC": {"answer": 52, "answer_type": "integer", "half_answer": 26}, "q_Htkd02b8": {"answer": 4, "answer_type": "integer", "half_answer": 2}, "q_D8ua0sjE": {"answer": 44, "answer_type": "integer", "half_answer": 22}, "global_metadata": {"num_questions_asked": 4, "num_questions_answered": 4}}}