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

Question 1 (Question id: q_zvgSou):
Find the value of g in the equation: 114*g + 57 = 2109 Respond with an integer.

Question 2 (Question id: q_cdyTl):
Calculate -6 * -4 + -2.



Your output must be a JSON mapping every question id to its answer info.

The value for each key should be an object that contains the answer in the field 'answer'.
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:
Include 'num_questions_asked' to record the total number of questions presented.
• questions_with_integer_answers: ids of questions with integer replies.

Now provide the result JSON using the described format.

{"ground_truth": {"q_NyvzIp": {"answer": 4, "half_answer": 2}, "q_zvgSou": {"answer": 18, "half_answer": 9}, "q_cdyTl": {"answer": 22, "half_answer": 11}, "global_metadata": {"num_questions_asked": 3, "questions_with_integer_answers": ["q_NyvzIp", "q_zvgSou", "q_cdyTl"]}}}