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_quZc17P):
Find the value of i in the equation: 8 - 19*i = -30 Respond with an integer.

Question 1 (Question id: q_5ZqG4):
Your job is to return the last character of a string as a string. For example, the last char of "hello" is "o". Return the last character of the following string: "are"

Question 2 (Question id: q_nT4Y22):
How many times does the letter "y" appear in the text: "way with"? Respond with an integer.

Question 3 (Question id: q_vypyVL10):
Your job is to return the last character of a string as a string. For example, the last char of "hello" is "o". Return the last character of the following string: "with"



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

For every question id, supply an object whose 'answer' field stores the solution.
For even integers, nest 'half_answer' and 'double_answer' inside an additional 'additional_answer_info' field in the answer object.
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:
'num_questions_asked' should equal the total questions that appeared.
Provide 'questions_with_integer_answers', listing ids with integer answers (or [] if no integers).

Now provide the result JSON using the described format.

{"ground_truth": {"q_quZc17P": {"answer": 2, "additional_answer_info": {"half_answer": 1, "double_answer": 4}}, "q_5ZqG4": {"answer": "e", "first_char": "e"}, "q_nT4Y22": {"answer": 1}, "q_vypyVL10": {"answer": "h", "first_char": "h"}, "global_metadata": {"num_questions_asked": 4, "questions_with_integer_answers": ["q_quZc17P", "q_nT4Y22"]}}}