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_DBpEG):
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, 2 cows, 2 horses, 4 flatworms?
 Respond with an integer.

Question 1 (Question id: q_z42OZ):
Calculate ( -3 * 1 - -3 ).

Question 2 (Question id: q_vhtv):
Determine the value of w that satisfies: 8*w - 13 = 147 Respond with an integer.



Output JSON where all question ids are keys, omitting q_vhtv.

Each key’s value must be an object holding an 'answer' field.
For even integer answers, include 'half_answer' equal to answer ÷ 2.
For last-character tasks, provide 'original_string' alongside the answer.

Add a top-level 'global_metadata' field that records overall stats:
Include 'num_questions_asked' to record the total number of questions presented.
Add 'num_questions_answered' showing how many questions you answered.
• questions_with_integer_answers: ids of questions with integer replies.

Now provide the result JSON using the described format.

{"ground_truth": {"q_DBpEG": {"answer": 28, "half_answer": 14}, "q_z42OZ": {"answer": 0, "half_answer": 0}, "global_metadata": {"num_questions_asked": 3, "num_questions_answered": 2, "questions_with_integer_answers": ["q_DBpEG", "q_z42OZ"]}}}