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_FpdjcIq):
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 praying mantis, 2 flatworms, 2 giraffes?
 Respond with an integer.

Question 1 (Question id: q_0CewbASX):
Solve for m: 20 - 9*m = -70 Respond with an integer.

Question 2 (Question id: q_8AG9Y):
Calculate ( 7 / 1 + 1 ).

Question 3 (Question id: q_sObsQF):
How many times does the letter "m" appear in the text: "him all dressed"? Respond with an integer.

Question 4 (Question id: q_tSL3qlur):
Determine the value of b that satisfies: 216*b = 2592 Respond with an integer.

Question 5 (Question id: q_gCH7):
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 elephant, 3 starfishs, 4 butterflys, 2 fireflys, 4 chickens?
 Respond with an integer.



Return a JSON with each question id as a key.

Each key’s value must be an object holding an 'answer' field.
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.
For string answers, include 'first_char' with the answer’s initial letter.
For last-character tasks, provide 'original_string' alongside the answer.

Add a top-level 'global_metadata' field that records overall stats:
• num_questions_asked: how many questions were asked in total.
• num_questions_answered: count of questions present in your JSON.

Now provide the result JSON using the described format.

{"ground_truth": {"q_FpdjcIq": {"answer": 14, "half_answer": 7}, "q_0CewbASX": {"answer": 10, "half_answer": 5}, "q_8AG9Y": {"answer": 8, "half_answer": 4}, "q_sObsQF": {"answer": 1}, "q_tSL3qlur": {"answer": 12, "half_answer": 6}, "q_gCH7": {"answer": 63}, "global_metadata": {"num_questions_asked": 6, "num_questions_answered": 6}}}