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_Rofq):
Calculate 3 / 3 + 7.

Question 1 (Question id: q_nWy1it7):
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 fireflys, 4 crabs, 3 cockroachs, 4 chickens?
 Respond with an integer.

Question 2 (Question id: q_Jm4O):
Calculate ( 3 - 3 ).

Question 3 (Question id: q_pr3YmS):
Determine the value of n that satisfies: 13 - 5*n = -67 Respond with an integer.

Question 4 (Question id: q_XBJT6QT):
Solve for d: 3*d - 11 = 31 Respond with an integer.

Question 5 (Question id: q_jksi1):
Solve for x: 12*x + 21 = 117 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.
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.
If the response to a question is a string, add a 'first_char' field containing its first character.
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.
Add 'num_questions_answered' showing how many questions you answered.

Now provide the result JSON using the described format.

{"ground_truth": {"q_Rofq": {"answer": 8, "answer_type": "integer", "half_answer": 4}, "q_nWy1it7": {"answer": 78, "answer_type": "integer", "half_answer": 39, "animal_types": ["chicken", "cockroach", "crab", "firefly"]}, "q_Jm4O": {"answer": 0, "answer_type": "integer", "half_answer": 0}, "q_pr3YmS": {"answer": 16, "answer_type": "integer", "half_answer": 8}, "q_XBJT6QT": {"answer": 14, "answer_type": "integer", "half_answer": 7}, "q_jksi1": {"answer": 8, "answer_type": "integer", "half_answer": 4}, "global_metadata": {"num_questions_asked": 6, "num_questions_answered": 6}}}