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_Ykd7uiHO):
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 bees, 2 starfishs, 1 cricket?
 Respond with an integer.

Question 1 (Question id: q_ycbVjMvh):
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 spider, 4 cows, 1 duck, 2 dogs, 3 praying mantiss?
 Respond with an integer.

Question 2 (Question id: q_Owavcaj):
Find the value of m in the equation: 9*m + 11 = 20 Respond with an integer.



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

Each key’s value must be an object holding an 'answer' field. Additionally, if the task is about counting legs of animals or counting letters in a string, add the task_type field with value 'leg_counting' or 'letter_counting', respectively.
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 animal-leg questions, add 'animal_types': an alphabetically-sorted list of unique animal names in singular form.

Beyond the question-id fields, add a 'global_metadata' object with summary information:
Include 'num_questions_asked' to record the total number of questions presented.
• 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_Ykd7uiHO": {"answer": 40, "task_type": "leg_counting", "answer_type": "integer", "additional_answer_info": {"half_answer": 20, "double_answer": 80}, "animal_types": ["bee", "cricket", "starfish"]}, "q_ycbVjMvh": {"answer": 52, "task_type": "leg_counting", "answer_type": "integer", "additional_answer_info": {"half_answer": 26, "double_answer": 104}, "animal_types": ["cow", "dog", "duck", "praying mantis", "spider"]}, "global_metadata": {"num_questions_asked": 3, "questions_with_integer_answers": ["q_Ykd7uiHO", "q_ycbVjMvh"]}}}