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_SpLeESAz):
Calculate -3 + 9.

Question 1 (Question id: q_TFOBtOQo):
Find the value of r in the equation: 640*r = 3200 Respond with an integer.



Return a JSON with each question id as a key.

Each key’s value must be an object holding an 'answer' field.
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.

Beyond the question-id fields, add a 'global_metadata' object with summary information:
Include 'num_questions_asked' to record the total number of questions presented.
'num_questions_answered' must hold the number of answered questions.
'questions_with_integer_answers' should enumerate every id whose answer is an integer.

Now provide the result JSON using the described format.

{"ground_truth": {"q_SpLeESAz": {"answer": 6, "half_answer": 3}, "q_TFOBtOQo": {"answer": 5}, "global_metadata": {"num_questions_asked": 2, "num_questions_answered": 2, "questions_with_integer_answers": ["q_SpLeESAz", "q_TFOBtOQo"]}}}