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_d8sQ):
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: "and"

Question 1 (Question id: q_O6hygU):
How many times does the letter "h" appear in the text: "made between these"? Respond with an integer.

Question 2 (Question id: q_YEGyC):
Find the value of n in the equation: 20 - 11*n = -167 Respond with an integer.



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.
Include an 'answer_type' field (value 'string' or 'integer') for every answer object.
For even integer answers, include 'half_answer' equal to answer ÷ 2.

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.

Now provide the result JSON using the described format.

{"ground_truth": {"q_d8sQ": {"answer": "d", "answer_type": "string"}, "q_O6hygU": {"answer": 1, "answer_type": "integer"}, "q_YEGyC": {"answer": 17, "answer_type": "integer"}, "global_metadata": {"num_questions_asked": 3}}}