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_sMD7):
Find the value of g in the equation: 114*g + 57 = 2109 Respond with an integer.

Question 1 (Question id: q_nX5zYa6Y):
Find the value of i in the equation: 6*i + 28 = 88 Respond with an integer.



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

The value for each key should be an object that contains the answer in the field 'answer'. Additionally, if the task is about counting legs of animals or counting letters in a string, add the task_type field with value 'leg_counting' or 'letter_counting', respectively.
For even integers, nest 'half_answer' and 'double_answer' inside an additional 'additional_answer_info' field in the answer object.
If the response to a question is a string, add a 'first_char' field containing its first character.

Beyond the question-id fields, add a 'global_metadata' object with summary information:
Set 'num_questions_asked' to the count of questions originally displayed.

Now provide the result JSON using the described format.

{"ground_truth": {"q_sMD7": {"answer": 18, "additional_answer_info": {"half_answer": 9, "double_answer": 36}}, "q_nX5zYa6Y": {"answer": 10, "additional_answer_info": {"half_answer": 5, "double_answer": 20}}, "global_metadata": {"num_questions_asked": 2}}}