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_99Awf):
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 shrimp, 1 grasshopper, 1 wasp?
 Respond with an integer.

Question 1 (Question id: q_ovPm1):
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 flatworms, 1 cricket, 3 beetles?
 Respond with an integer.

Question 2 (Question id: q_TF6NHK):
Solve for q: 33 - 15*q = -207 Respond with an integer.



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

Each key’s value must be an object holding an 'answer' field.
Also add the answer type as 'string' or 'integer' to the field 'answer_type' for each object.
For even integers, nest 'half_answer' and 'double_answer' inside an additional 'additional_answer_info' field in the answer object.
For animal-leg questions, add 'animal_types': an alphabetically-sorted list of unique animal names in singular form.

Add a top-level 'global_metadata' field that records overall stats:
Set 'num_questions_asked' to the count of questions originally displayed.
Fill 'questions_with_integer_answers' with the ids of integer-answer questions (leave empty when none).

Now provide the result JSON using the described format.

{"ground_truth": {"q_ovPm1": {"answer": 24, "answer_type": "integer", "additional_answer_info": {"half_answer": 12, "double_answer": 48}, "animal_types": ["beetle", "cricket", "flatworm"]}, "q_TF6NHK": {"answer": 16, "answer_type": "integer", "additional_answer_info": {"half_answer": 8, "double_answer": 32}}, "global_metadata": {"num_questions_asked": 3, "questions_with_integer_answers": ["q_ovPm1", "q_TF6NHK"]}}}