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_jyi9QXz):
How many times does the letter "r" appear in the text: "FITNESS FOR"? Respond with an integer.

Question 1 (Question id: q_5qRbmbfr):
How many times does the letter "i" appear in the text: "gravitates beyond"? Respond with an integer.

Question 2 (Question id: q_1boNcZTR):
Calculate 0 * 5.

Question 3 (Question id: q_nSq5):
Calculate ( ( 5 + -3 ) ) - -6.



Produce a JSON object whose top-level keys are the question ids.

For every question id, supply an object whose 'answer' field stores the solution.
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 string answers, include 'first_char' with the answer’s initial letter.
If the question asks for the last character of a string, add an 'original_string' field containing the source string.

Add a top-level 'global_metadata' field that records overall stats:
'num_questions_asked' should equal the total questions that appeared.
Fill 'questions_with_integer_answers' with the ids of integer-answer questions (leave empty when none).

Now provide the result JSON using the described format.

{"ground_truth": {"q_jyi9QXz": {"answer": 1}, "q_5qRbmbfr": {"answer": 1}, "q_1boNcZTR": {"answer": 0, "additional_answer_info": {"half_answer": 0, "double_answer": 0}}, "q_nSq5": {"answer": 8, "additional_answer_info": {"half_answer": 4, "double_answer": 16}}, "global_metadata": {"num_questions_asked": 4, "questions_with_integer_answers": ["q_jyi9QXz", "q_5qRbmbfr", "q_1boNcZTR", "q_nSq5"]}}}