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_wMUNMT):
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 lobsters, 3 birds, 1 beetle?
 Respond with an integer.

Question 1 (Question id: q_zTRzcHq):
How many times does the letter "i" appear in the text: "I suppose The"? Respond with an integer.

Question 2 (Question id: q_mdSxw):
Calculate -7 * -7.

Question 3 (Question id: q_oIYu7):
Solve for h: 160*h = 3200 Respond with an integer.



Return a JSON with each question id (except for q_mdSxw) 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 integer answers, include 'half_answer' equal to answer ÷ 2.
If the response to a question is a string, add a 'first_char' field containing its first character.
For last-character tasks, provide 'original_string' alongside the answer.

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.
'num_questions_answered' must hold the number of answered questions.

Now provide the result JSON using the described format.

{"ground_truth": {"q_zTRzcHq": {"answer": 1, "answer_type": "integer"}, "q_oIYu7": {"answer": 20, "answer_type": "integer", "half_answer": 10}, "q_wMUNMT": {"answer": 32, "answer_type": "integer", "half_answer": 16}, "global_metadata": {"num_questions_asked": 4, "num_questions_answered": 3}}}