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_6otIsn):
Determine the value of o that satisfies: 6 - 11*o = -214 Respond with an integer.

Question 1 (Question id: q_ykkCZ):
Determine the value of g that satisfies: -195*g = -3510 Respond with an integer.

Question 2 (Question id: q_m3SR):
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: "are"

Question 3 (Question id: q_6Djzbf):
Calculate 9 - -9.

Question 4 (Question id: q_GVc4):
Solve for z: -11*z - 6 = -116 Respond with an integer.

Question 5 (Question id: q_NoKxq9):
Solve for r: 11*r + 187 = 319 Respond with an integer.

Question 6 (Question id: q_8lZfad):
Calculate ( 0 * 8 ).

Question 7 (Question id: q_BLMkprAF):
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: "products"

Question 8 (Question id: q_zPCS93Z7):
Calculate 2 * 6 + -1.

Question 9 (Question id: q_9CcE92yl):
Find the value of c in the equation: 14*c + 10 = 262 Respond with an integer.

Question 10 (Question id: q_Yto254):
How many times does the letter "b" appear in the text: "2889 This ebook"? Respond with an integer.

Question 11 (Question id: q_LGEFJnES):
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 starfishs, 3 cats, 2 scorpions, 4 ducks?
 Respond with an integer.



Create a JSON object keyed by every question id except q_9CcE92yl, q_BLMkprAF, q_GVc4, q_8lZfad.

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

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_NoKxq9": {"answer": 12, "answer_type": "integer", "half_answer": 6}, "q_6Djzbf": {"answer": 18, "answer_type": "integer", "half_answer": 9}, "q_Yto254": {"answer": 1, "task_type": "letter_counting", "answer_type": "integer"}, "q_ykkCZ": {"answer": 18, "answer_type": "integer", "half_answer": 9}, "q_6otIsn": {"answer": 20, "answer_type": "integer", "half_answer": 10}, "q_LGEFJnES": {"answer": 46, "task_type": "leg_counting", "answer_type": "integer", "half_answer": 23}, "q_m3SR": {"answer": "e", "answer_type": "string"}, "q_zPCS93Z7": {"answer": 11, "answer_type": "integer"}, "global_metadata": {"num_questions_asked": 12, "num_questions_answered": 8}}}