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_fRF4zGSP):
Calculate 0 * -9.

Question 1 (Question id: q_yvXPS):
Calculate ( ( 8 + -7 ) ) - -3.



Return a JSON with each question id (except for q_fRF4zGSP) as a key.

The value for each key should be an object that contains the answer in the field 'answer'.
Include an 'answer_type' field (value 'string' or 'integer') for every answer object.
For even integer answers, include 'half_answer' equal to answer ÷ 2.
If the response to a question is a string, add a 'first_char' field containing its first character.
For last-character tasks, provide 'original_string' alongside the answer.

Add a top-level 'global_metadata' field that records overall stats:
• num_questions_asked – total number of questions originally shown.
'num_questions_answered' must hold the number of answered questions.

Now provide the result JSON using the described format.

{"ground_truth": {"q_yvXPS": {"answer": 4, "answer_type": "integer", "half_answer": 2}, "global_metadata": {"num_questions_asked": 2, "num_questions_answered": 1}}}