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_RbHc):
Calculate 7 + 6.

Question 1 (Question id: q_alZwrNH):
How many times does the letter "a" appear in the text: "a task of"? Respond with an integer.

Question 2 (Question id: q_7oHLN8):
How many times does the letter "t" appear in the text: "his residence this"? Respond with an integer.

Question 3 (Question id: q_dtK8y):
Calculate ( ( -5 * -4 ) ).

Question 4 (Question id: q_ex2zmg6):
How many times does the letter "h" appear in the text: "laboratory The"? Respond with an integer.



Return a JSON with each question id as a key.

For every question id, supply an object whose 'answer' field stores the solution.
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.
For string answers, include 'first_char' with the answer’s initial letter.

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

Now provide the result JSON using the described format.

{"ground_truth": {"q_RbHc": {"answer": 13, "answer_type": "integer"}, "q_alZwrNH": {"answer": 2, "answer_type": "integer", "half_answer": 1}, "q_7oHLN8": {"answer": 1, "answer_type": "integer"}, "q_dtK8y": {"answer": 20, "answer_type": "integer", "half_answer": 10}, "q_ex2zmg6": {"answer": 1, "answer_type": "integer"}, "global_metadata": {"num_questions_asked": 5, "questions_with_integer_answers": ["q_RbHc", "q_alZwrNH", "q_7oHLN8", "q_dtK8y", "q_ex2zmg6"]}}}