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_Tont):
Determine the value of y that satisfies: 342*y - 4 = 2732 Respond with an integer.

Question 1 (Question id: q_i3rkPoW):
Calculate 5 - -8.

Question 2 (Question id: q_iEcD0W):
Calculate 8 + 7 + -9.

Question 3 (Question id: q_iBs44dG):
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: "long"



Return a JSON with each question id as a key.

For every question id, supply an object whose 'answer' field stores the solution. If a question involves animal-leg or letter counting, include 'task_type' set to 'leg_counting' or 'letter_counting'.
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 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:
Include 'num_questions_asked' to record the total number of questions presented.
• num_questions_answered – number you actually answered.

Now provide the result JSON using the described format.

{"ground_truth": {"q_Tont": {"answer": 8, "answer_type": "integer", "half_answer": 4}, "q_i3rkPoW": {"answer": 13, "answer_type": "integer"}, "q_iEcD0W": {"answer": 6, "answer_type": "integer", "half_answer": 3}, "q_iBs44dG": {"answer": "g", "answer_type": "string", "original_string": "long"}, "global_metadata": {"num_questions_asked": 4, "num_questions_answered": 4}}}