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_Jz4y):
Your task is to count how many legs there are in total when given a list of animals.

Now, how many legs are there in total if you have 1 ant, 3 beetles, 1 sea slug?
 Respond with an integer.

Question 1 (Question id: q_TZ5f):
Solve for t: 18*t + 28 = 226 Respond with an integer.

Question 2 (Question id: q_JOJT):
Solve for k: 15*k + 2 = 137 Respond with an integer.

Question 3 (Question id: q_Vcb38YW):
Calculate ( ( 8 - -2 ) * 3 ).

Question 4 (Question id: q_MYKcNOeC):
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: "very"

Question 5 (Question id: q_rzl7F):
Your task is to count how many legs there are in total when given a list of animals.

Now, how many legs are there in total if you have 4 elephants, 4 lions, 4 wasps, 1 sea slug, 1 scorpion?
 Respond with an integer.

Question 6 (Question id: q_pWLSNwY0):
Calculate -3 + ( 8 * 7 ).



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

The value for each key should be an object that contains the answer in the field 'answer'.
For even integers, nest 'half_answer' and 'double_answer' inside an additional 'additional_answer_info' field in the answer object.
If the response to a question is a string, add a 'first_char' field containing its first character.
For last-character tasks, provide 'original_string' alongside the answer.

Add a top-level 'global_metadata' field that records overall stats:
Include 'num_questions_asked' to record the total number of questions presented.
Record the answered-question count in the field 'num_questions_answered'.

Now provide the result JSON using the described format.

{"ground_truth": {"q_pWLSNwY0": {"answer": 53}, "q_JOJT": {"answer": 9}, "q_Jz4y": {"answer": 24, "additional_answer_info": {"half_answer": 12, "double_answer": 48}}, "q_rzl7F": {"answer": 64, "additional_answer_info": {"half_answer": 32, "double_answer": 128}}, "q_Vcb38YW": {"answer": 30, "additional_answer_info": {"half_answer": 15, "double_answer": 60}}, "q_MYKcNOeC": {"answer": "y", "first_char": "y", "original_string": "very"}, "global_metadata": {"num_questions_asked": 7, "num_questions_answered": 6}}}