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_tJA7OBk):
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 jellyfishs, 1 snake, 3 birds?
 Respond with an integer.

Question 1 (Question id: q_K12H7fi):
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 giraffe, 3 ducks, 1 insect?
 Respond with an integer.

Question 2 (Question id: q_3LN6HB8):
Find the value of z in the equation: 20 - 4*z = -36 Respond with an integer.

Question 3 (Question id: q_57762HZ):
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 horse, 3 lions, 1 bird?
 Respond with an integer.

Question 4 (Question id: q_BdkZxm):
Determine the value of d that satisfies: 7*d + 13 = 90 Respond with an integer.



Return a JSON with each question id as a key.

For every question id, supply an object whose 'answer' field stores the solution.
Also add the answer type as 'string' or 'integer' to the field 'answer_type' for each 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.

Add a top-level 'global_metadata' field that records overall stats:
Set 'num_questions_asked' to the count of questions originally displayed.
• num_questions_answered: count of questions present in your JSON.
• questions_with_integer_answers – list of question ids whose answers are integers (empty list if none).

Now provide the result JSON using the described format.

{"ground_truth": {"q_tJA7OBk": {"answer": 6, "answer_type": "integer", "half_answer": 3}, "q_K12H7fi": {"answer": 16, "answer_type": "integer", "half_answer": 8}, "q_3LN6HB8": {"answer": 14, "answer_type": "integer", "half_answer": 7}, "q_57762HZ": {"answer": 18, "answer_type": "integer", "half_answer": 9}, "q_BdkZxm": {"answer": 11, "answer_type": "integer"}, "global_metadata": {"num_questions_asked": 5, "num_questions_answered": 5, "questions_with_integer_answers": ["q_tJA7OBk", "q_K12H7fi", "q_3LN6HB8", "q_57762HZ", "q_BdkZxm"]}}}