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_ZF8z):
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 chickens, 4 deers, 1 butterfly, 2 flatworms, 3 leechs?
 Respond with an integer.

Question 1 (Question id: q_tNmaIxs):
Calculate ( 7 / 1 ).

Question 2 (Question id: q_onnpGWZ8):
Calculate ( 0 - -3 ).



Return a JSON with each question id as a key.

Each key’s value must be an object holding an 'answer' field.
Include an 'answer_type' field (value 'string' or 'integer') for every answer object.
For even integers, nest 'half_answer' and 'double_answer' inside an additional 'additional_answer_info' field in the answer object.
If the question asks for the last character of a string, add an 'original_string' field containing the source string.

Add a top-level 'global_metadata' field that records overall stats:
Include 'num_questions_asked' to record the total number of questions presented.
Record the answered-question count in the field 'num_questions_answered'.

Now provide the result JSON using the described format.

{"ground_truth": {"q_ZF8z": {"answer": 28, "answer_type": "integer", "additional_answer_info": {"half_answer": 14, "double_answer": 56}}, "q_tNmaIxs": {"answer": 7, "answer_type": "integer"}, "q_onnpGWZ8": {"answer": 3, "answer_type": "integer"}, "global_metadata": {"num_questions_asked": 3, "num_questions_answered": 3}}}