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_Bm03uAc):
Solve for r: 30 - 4*r = -10 Respond with an integer.

Question 1 (Question id: q_sxM1u):
Solve for k: 8*k + 76 = 204 Respond with an integer.

Question 2 (Question id: q_y2NCq):
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: "we"

Question 3 (Question id: q_yfPWb10Q):
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 ducks, 3 chickens, 2 cockroachs, 2 beetles, 4 insects?
 Respond with an integer.

Question 4 (Question id: q_zbLHw):
How many times does the letter "t" appear in the text: "party distributing"? Respond with an integer.

Question 5 (Question id: q_bMG2FCLJ):
Find the value of w in the equation: 15*w + 14 = 209 Respond with an integer.

Question 6 (Question id: q_oOQxE8):
Solve for a: 12*a + 17 = 89 Respond with an integer.

Question 7 (Question id: q_tuXYpD):
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 bees, 2 scorpions, 3 ducks, 2 leechs, 2 cockroachs?
 Respond with an integer.

Question 8 (Question id: q_3aT0):
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: "how"

Question 9 (Question id: q_yJyR):
Calculate -6 - -3 * 6.

Question 10 (Question id: q_zAEBiH0):
Calculate ( 6 - 7 ) - -3.



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

The value for each key should be an object that contains the answer in the field 'answer'.
If the response to a question is an integer that is even, also add the field 'half_answer' to the object which contains the answer integer divided by two.

Now provide the result JSON using the described format.

{"ground_truth": {"q_Bm03uAc": {"answer": 10, "half_answer": 5}, "q_sxM1u": {"answer": 16, "half_answer": 8}, "q_y2NCq": {"answer": "e"}, "q_yfPWb10Q": {"answer": 60, "half_answer": 30}, "q_zbLHw": {"answer": 3}, "q_bMG2FCLJ": {"answer": 13}, "q_oOQxE8": {"answer": 6, "half_answer": 3}, "q_tuXYpD": {"answer": 52, "half_answer": 26}, "q_3aT0": {"answer": "w"}, "q_yJyR": {"answer": 12, "half_answer": 6}, "q_zAEBiH0": {"answer": 2, "half_answer": 1}}}