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_ZZ482w):
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: "to"

Question 1 (Question id: q_OwykYww):
Solve for g: 2*g - 11 = 19 Respond with an integer.

Question 2 (Question id: q_nfkP):
How many times does the letter "i" appear in the text: "the falling"? Respond with an integer.



Return a JSON with each question id (except for q_OwykYww) as a key.

The value for each key should be an object that contains the answer in the field 'answer'.
If the response to a question is an integer that is even, add the field 'additional_answer_info' containing 'half_answer' (answer ÷ 2) and 'double_answer' (answer × 2).

Add a top-level 'global_metadata' field that records overall stats:
• num_questions_asked: how many questions were asked in total.
Add 'num_questions_answered' showing how many questions you answered.

Now provide the result JSON using the described format.

{"ground_truth": {"q_ZZ482w": {"answer": "o"}, "q_nfkP": {"answer": 1}, "global_metadata": {"num_questions_asked": 3, "num_questions_answered": 2}}}