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_JZJfu):
Solve for q: -10*q - 9 = -119 Respond with an integer.

Question 1 (Question id: q_wNslLXJZ):
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 1 praying mantis, 1 woodlouse, 1 bee?
 Respond with an integer.

Question 2 (Question id: q_4dztH):
Solve for r: 160*r = 1600 Respond with an integer.

Question 3 (Question id: q_U10StV):
Calculate -1 - ( ( ( -5 / 1 ) ) ).

Question 4 (Question id: q_aHYqCpMN):
Find the value of k in the equation: 280 - 7*k = 217 Respond with an integer.

Question 5 (Question id: q_N8mr7F):
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 1 leech, 4 lions, 2 ducks, 3 dogs?
 Respond with an integer.

Question 6 (Question id: q_0yaFSQ):
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: "getting"

Question 7 (Question id: q_1eIt9):
Calculate ( ( 8 + -7 ) ) - -3.

Question 8 (Question id: q_iAt5):
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: "make"

Question 9 (Question id: q_LxVLd):
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 lions, 1 sea slug, 2 jellyfishs?
 Respond with an integer.

Question 10 (Question id: q_eaug4):
Find the value of x in the equation: 11*x - 11 = 11 Respond with an integer.



Return a JSON with each question id (except for q_JZJfu, q_iAt5, q_LxVLd, q_0yaFSQ) as a key.

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, 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_N8mr7F": {"answer": 32, "half_answer": 16}, "q_wNslLXJZ": {"answer": 26, "half_answer": 13}, "q_U10StV": {"answer": 4, "half_answer": 2}, "q_aHYqCpMN": {"answer": 9}, "q_1eIt9": {"answer": 4, "half_answer": 2}, "q_eaug4": {"answer": 2, "half_answer": 1}, "q_4dztH": {"answer": 10, "half_answer": 5}}}