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_gGYo):
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 butterfly, 1 duck, 2 cats, 3 scorpions?
 Respond with an integer.

Question 1 (Question id: q_eTaA6i0):
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 giraffes, 3 snakes, 3 starfishs, 3 birds, 2 bees?
 Respond with an integer.

Question 2 (Question id: q_xDGcuz):
Find the value of k in the equation: 20*k + 5 = 305 Respond with an integer.



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

For every question id, supply an object whose 'answer' field stores the solution.
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.
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:
Set 'num_questions_asked' to the count of questions originally displayed.
• num_questions_answered: count of questions present in your JSON.

Now provide the result JSON using the described format.

{"ground_truth": {"q_eTaA6i0": {"answer": 45, "animal_types": ["bee", "bird", "giraffe", "snake", "starfish"]}, "q_xDGcuz": {"answer": 15}, "global_metadata": {"num_questions_asked": 3, "num_questions_answered": 2}}}