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_emd272b):
Calculate -7 - -9 * 2.

Question 1 (Question id: q_5BR3xs):
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 dogs, 1 lobster, 3 leechs, 2 sheeps?
 Respond with an integer.

Question 2 (Question id: q_hSZEEGc):
Calculate 2 + 4.



Your output must be a JSON mapping every question id to its answer info.

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.
If the response to a question is an integer that is even, add the field 'additional_answer_info' containing 'half_answer' (answer ÷ 2) and 'double_answer' (answer × 2).
For last-character tasks, provide 'original_string' alongside the answer.

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: ids of questions with integer replies.

In addition, add 'combined_results' with:
  • integer_info holds all integer answers by id
  • sum_of_answers is their sum

Now provide the result JSON using the described format.

{"ground_truth": {"q_emd272b": {"answer": 11, "answer_type": "integer"}, "q_5BR3xs": {"answer": 32, "answer_type": "integer", "additional_answer_info": {"half_answer": 16, "double_answer": 64}}, "q_hSZEEGc": {"answer": 6, "answer_type": "integer", "additional_answer_info": {"half_answer": 3, "double_answer": 12}}, "global_metadata": {"num_questions_asked": 3, "num_questions_answered": 3, "questions_with_integer_answers": ["q_emd272b", "q_5BR3xs", "q_hSZEEGc"]}, "combined_results": {"integer_info": {"q_emd272b": 11, "q_5BR3xs": 32, "q_hSZEEGc": 6}, "sum_of_answers": 49}}}