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_2U6sgc):
Find the value of p in the equation: 10*p - 9 = 111 Respond with an integer.

Question 1 (Question id: q_M9hdPo):
Determine the value of l that satisfies: 19*l + 31 = 50 Respond with an integer.

Question 2 (Question id: q_QWNCv):
Calculate -2 * -8.

Question 3 (Question id: q_HsCWMU):
Calculate ( ( -8 * -7 ) ) * 2.



Return a JSON with each question id as a key.

Each key’s value must be an object holding an 'answer' field.
Also add the answer type as 'string' or 'integer' to the field 'answer_type' for each object.
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.
For last-character tasks, provide 'original_string' alongside the answer.

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 – list of question ids whose answers are integers (empty list if none).

Now provide the result JSON using the described format.

{"ground_truth": {"q_2U6sgc": {"answer": 12, "answer_type": "integer", "additional_answer_info": {"half_answer": 6, "double_answer": 24}}, "q_M9hdPo": {"answer": 1, "answer_type": "integer"}, "q_QWNCv": {"answer": 16, "answer_type": "integer", "additional_answer_info": {"half_answer": 8, "double_answer": 32}}, "q_HsCWMU": {"answer": 112, "answer_type": "integer", "additional_answer_info": {"half_answer": 56, "double_answer": 224}}, "global_metadata": {"num_questions_asked": 4, "num_questions_answered": 4, "questions_with_integer_answers": ["q_2U6sgc", "q_M9hdPo", "q_QWNCv", "q_HsCWMU"]}}}