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_eUomjO):
Find the value of r in the equation: 40*r = 120 Respond with an integer.

Question 1 (Question id: q_O3Jp6):
Solve for a: 12*a - 1 = 95 Respond with an integer.

Question 2 (Question id: q_oXCjb):
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: "economy"

Question 3 (Question id: q_IX8dB):
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: "than"

Question 4 (Question id: q_EdWw3Kda):
Determine the value of q that satisfies: 7*q + 3 = 122 Respond with an integer.

Question 5 (Question id: q_AaascY3):
How many times does the letter "t" appear in the text: "permission of the"? Respond with an integer.

Question 6 (Question id: q_s6TqFr):
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 shrimps, 3 wasps, 4 sea slugs, 2 dogs?
 Respond with an integer.

Question 7 (Question id: q_1Sqom7o):
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 3 wasps, 2 butterflys, 2 humans, 4 crabs, 4 dogs?
 Respond with an integer.

Question 8 (Question id: q_vgIiu):
Calculate ( ( ( -7 / 7 ) ) ) - -8.

Question 9 (Question id: q_GwBH):
How many times does the letter "y" appear in the text: "may well"? Respond with an integer.

Question 10 (Question id: q_OUe2DN0w):
Calculate 5 + 6.

Question 11 (Question id: q_sDV0bIoV):
Determine the value of v that satisfies: 9*v + 9 = 108 Respond with an integer.



Produce a JSON object whose top-level keys are the question ids.

For every question id, supply an object whose 'answer' field stores the solution.
Include an 'answer_type' field (value 'string' or 'integer') for every answer object.
If the response to a question is an integer that is even, add the field 'additional_answer_info' containing 'half_answer' (answer ÷ 2) and 'double_answer' (answer × 2).
For string answers, include 'first_char' with the answer’s initial letter.
For animal-leg questions, add 'animal_types': an alphabetically-sorted list of unique animal names in singular form.

Now provide the result JSON using the described format.

{"ground_truth": {"q_eUomjO": {"answer": 3, "answer_type": "integer"}, "q_O3Jp6": {"answer": 8, "answer_type": "integer", "additional_answer_info": {"half_answer": 4, "double_answer": 16}}, "q_oXCjb": {"answer": "y", "answer_type": "string", "first_char": "y"}, "q_IX8dB": {"answer": "n", "answer_type": "string", "first_char": "n"}, "q_EdWw3Kda": {"answer": 17, "answer_type": "integer"}, "q_AaascY3": {"answer": 1, "answer_type": "integer"}, "q_s6TqFr": {"answer": 66, "answer_type": "integer", "additional_answer_info": {"half_answer": 33, "double_answer": 132}, "animal_types": ["dog", "sea slug", "shrimp", "wasp"]}, "q_1Sqom7o": {"answer": 90, "answer_type": "integer", "additional_answer_info": {"half_answer": 45, "double_answer": 180}, "animal_types": ["butterfly", "crab", "dog", "human", "wasp"]}, "q_vgIiu": {"answer": 7, "answer_type": "integer"}, "q_GwBH": {"answer": 1, "answer_type": "integer"}, "q_OUe2DN0w": {"answer": 11, "answer_type": "integer"}, "q_sDV0bIoV": {"answer": 11, "answer_type": "integer"}}}