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_1ggD):
Calculate 0 - ( -8 * 1 ).

Question 1 (Question id: q_KKab989q):
Determine the value of y that satisfies: 342*y - 4 = 2732 Respond with an integer.

Question 2 (Question id: q_Ng9JkPlh):
How many times does the letter "e" appear in the text: "the theater the"? Respond with an integer.

Question 3 (Question id: q_zR8NIKFs):
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 horses, 1 duck, 3 lobsters, 4 sheeps?
 Respond with an integer.

Question 4 (Question id: q_tlRt):
Your job is to return the last character of a string as a string. For example, the last char of "hello" is "o". Return the last character of the following string: "and"

Question 5 (Question id: q_8cb1ypt):
Calculate ( -7 * -3 ).



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.
For even integer answers, include 'half_answer' equal to answer ÷ 2.

Beyond the question-id fields, add a 'global_metadata' object with summary information:
• num_questions_asked: how many questions were asked in total.

Insert 'combined_results', which should hold:
  • integer_info: maps each id to its integer answer
  • sum_of_answers: the combined total

Now provide the result JSON using the described format.

{"ground_truth": {"q_1ggD": {"answer": 8, "half_answer": 4}, "q_KKab989q": {"answer": 8, "half_answer": 4}, "q_Ng9JkPlh": {"answer": 4, "half_answer": 2}, "q_zR8NIKFs": {"answer": 60, "half_answer": 30}, "q_tlRt": {"answer": "d"}, "q_8cb1ypt": {"answer": 21}, "global_metadata": {"num_questions_asked": 6}, "combined_results": {"integer_info": {"q_1ggD": 8, "q_KKab989q": 8, "q_Ng9JkPlh": 4, "q_zR8NIKFs": 60, "q_8cb1ypt": 21}, "sum_of_answers": 101}}}