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_RngcEbZU):
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 dogs, 4 butterflys, 4 scorpions, 2 birds, 1 sea slug?
 Respond with an integer.

Question 1 (Question id: q_6tSZ):
Determine the value of n that satisfies: 30*n + 136 = 226 Respond with an integer.

Question 2 (Question id: q_yzfEm2qm):
Determine the value of t that satisfies: 9*t + 28 = 82 Respond with an integer.

Question 3 (Question id: q_4AFO):
Calculate ( -1 + 5 ).



Return a JSON with each question id as a key.

The value for each key should be an object that contains the answer in the field 'answer'.
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).
If the response to a question is a string, add a 'first_char' field containing its first character.
When counting animal legs, include an 'animal_types' list of the distinct animal names (singular, sorted).

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' should enumerate every id whose answer is an integer.

Now provide the result JSON using the described format.

{"ground_truth": {"q_RngcEbZU": {"answer": 76, "additional_answer_info": {"half_answer": 38, "double_answer": 152}, "animal_types": ["bird", "butterfly", "dog", "scorpion", "sea slug"]}, "q_6tSZ": {"answer": 3}, "q_yzfEm2qm": {"answer": 6, "additional_answer_info": {"half_answer": 3, "double_answer": 12}}, "q_4AFO": {"answer": 4, "additional_answer_info": {"half_answer": 2, "double_answer": 8}}, "global_metadata": {"num_questions_asked": 4, "questions_with_integer_answers": ["q_RngcEbZU", "q_6tSZ", "q_yzfEm2qm", "q_4AFO"]}}}