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

Question 1 (Question id: q_nUswoS):
Calculate 9 / 3.

Question 2 (Question id: q_i5wY9):
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: "appreciating"

Question 3 (Question id: q_1M7V):
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: "just"

Question 4 (Question id: q_6n7ZWE):
How many times does the letter "e" appear in the text: "the summer"? Respond with an integer.

Question 5 (Question id: q_gMEt):
Determine the value of d that satisfies: 18*d = 306 Respond with an integer.

Question 6 (Question id: q_epID3D3):
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: "body"

Question 7 (Question id: q_AzKdy):
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 sheeps, 2 lobsters, 3 sea slugs?
 Respond with an integer.

Question 8 (Question id: q_q4x2):
Calculate 4 - 5 * -1.

Question 9 (Question id: q_EKOf6h7N):
Solve for f: 9*f + 2 = 146 Respond with an integer.

Question 10 (Question id: q_vtE0FejI):
How many times does the letter "w" appear in the text: "went on September"? Respond with an integer.

Question 11 (Question id: q_Qf0Q5v):
Calculate 5 * 7.



Your output must be a JSON mapping every question id to its answer info.

For every question id, supply an object whose 'answer' field stores the solution.
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).

Now provide the result JSON using the described format.

{"ground_truth": {"q_0ifHT8xv": {"answer": 3}, "q_nUswoS": {"answer": 3}, "q_i5wY9": {"answer": "g"}, "q_1M7V": {"answer": "t"}, "q_6n7ZWE": {"answer": 2, "additional_answer_info": {"half_answer": 1, "double_answer": 4}}, "q_gMEt": {"answer": 17}, "q_epID3D3": {"answer": "y"}, "q_AzKdy": {"answer": 36, "additional_answer_info": {"half_answer": 18, "double_answer": 72}}, "q_q4x2": {"answer": 9}, "q_EKOf6h7N": {"answer": 16, "additional_answer_info": {"half_answer": 8, "double_answer": 32}}, "q_vtE0FejI": {"answer": 1}, "q_Qf0Q5v": {"answer": 35}}}