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_prRv):
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: "way"

Question 1 (Question id: q_PxwWQGwG):
Find the value of g in the equation: 90*g = 720 Respond with an integer.

Question 2 (Question id: q_zKkub):
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: "seeing"

Question 3 (Question id: q_Ku4v):
Calculate 9 / 9.

Question 4 (Question id: q_E9pZ):
Solve for u: 95*u = 285 Respond with an integer.

Question 5 (Question id: q_8IvXUxl3):
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: "governments"

Question 6 (Question id: q_y0cvMevU):
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 2 woodlouses, 1 bee, 3 chickens, 1 cow?
 Respond with an integer.

Question 7 (Question id: q_OSjj):
Calculate 8 / 1.



Output JSON where all question ids are keys, omitting q_8IvXUxl3, q_y0cvMevU.

Each key’s value must be an object holding an 'answer' field.
Also add the answer type as 'string' or 'integer' to the field 'answer_type' for each object.
For even integer answers, include 'half_answer' equal to answer ÷ 2.
For last-character tasks, provide 'original_string' alongside the answer.

Add a top-level 'global_metadata' field that records overall stats:
'num_questions_asked' should equal the total questions that appeared.
Record the answered-question count in the field 'num_questions_answered'.

Now provide the result JSON using the described format.

{"ground_truth": {"q_E9pZ": {"answer": 3, "answer_type": "integer"}, "q_zKkub": {"answer": "g", "answer_type": "string", "original_string": "seeing"}, "q_Ku4v": {"answer": 1, "answer_type": "integer"}, "q_prRv": {"answer": "y", "answer_type": "string", "original_string": "way"}, "q_PxwWQGwG": {"answer": 8, "answer_type": "integer", "half_answer": 4}, "q_OSjj": {"answer": 8, "answer_type": "integer", "half_answer": 4}, "global_metadata": {"num_questions_asked": 8, "num_questions_answered": 6}}}