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_QiaO):
How many times does the letter "m" appear in the text: "Americans too"? Respond with an integer.

Question 1 (Question id: q_khb2):
Calculate 7 - ( -3 / 1 ).

Question 2 (Question id: q_ydqLfY):
Calculate 5 * 8.



Return a JSON with each question id as a key.

The value for each key should be an object that contains the answer in the field 'answer'.
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' should equal the total questions that appeared.
'num_questions_answered' must hold the number of answered questions.
Provide 'questions_with_integer_answers', listing ids with integer answers (or [] if no integers).

Now provide the result JSON using the described format.

{"ground_truth": {"q_QiaO": {"answer": 1}, "q_khb2": {"answer": 10, "half_answer": 5}, "q_ydqLfY": {"answer": 40, "half_answer": 20}, "global_metadata": {"num_questions_asked": 3, "num_questions_answered": 3, "questions_with_integer_answers": ["q_QiaO", "q_khb2", "q_ydqLfY"]}}}