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_QMrL57):
How many times does the letter "e" appear in the text: "this eBook"? Respond with an integer.

Question 1 (Question id: q_V1MRwe):
Find the value of a in the equation: 20*a - 15 = 225 Respond with an integer.

Question 2 (Question id: q_RLWbagR):
Calculate ( -1 * -4 - 0 ).

Question 3 (Question id: q_CZHn1Zy):
Solve for a: 12*a + 17 = 89 Respond with an integer.

Question 4 (Question id: q_a0gjW0):
How many times does the letter "e" appear in the text: "maid discusses interesting"? Respond with an integer.

Question 5 (Question id: q_FSdy28):
How many times does the letter "e" appear in the text: "wood They"? Respond with an integer.

Question 6 (Question id: q_FY0j4):
Calculate ( 2 / 2 ).

Question 7 (Question id: q_1rROZ):
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: "harmony"



Return a JSON with each question id as a key.

The value for each key should be an object that contains the answer in the field 'answer'.
Also add the answer type as 'string' or 'integer' to the field 'answer_type' for each object.
If the response to a question is an integer that is even, also add the field 'half_answer' to the object which contains the answer integer divided by two.
If the response to a question is a string, add a 'first_char' field containing its first character.
If the question asks for the last character of a string, add an 'original_string' field containing the source string.

Beyond the question-id fields, add a 'global_metadata' object with summary information:
• num_questions_asked – total number of questions originally shown.
• num_questions_answered: count of questions present in your JSON.

Now provide the result JSON using the described format.

{"ground_truth": {"q_QMrL57": {"answer": 1, "answer_type": "integer"}, "q_V1MRwe": {"answer": 12, "answer_type": "integer", "half_answer": 6}, "q_RLWbagR": {"answer": 4, "answer_type": "integer", "half_answer": 2}, "q_CZHn1Zy": {"answer": 6, "answer_type": "integer", "half_answer": 3}, "q_a0gjW0": {"answer": 3, "answer_type": "integer"}, "q_FSdy28": {"answer": 1, "answer_type": "integer"}, "q_FY0j4": {"answer": 1, "answer_type": "integer"}, "q_1rROZ": {"answer": "y", "answer_type": "string", "first_char": "y", "original_string": "harmony"}, "global_metadata": {"num_questions_asked": 8, "num_questions_answered": 8}}}