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_HVWzaPW):
Find the value of x in the equation: 21 - 17*x = -149 Respond with an integer.

Question 1 (Question id: q_PhZkJCu):
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 humans, 2 sheeps, 1 praying mantis, 1 cockroach, 2 ants?
 Respond with an integer.

Question 2 (Question id: q_YVv1):
Find the value of j in the equation: 6*j + 23 = 83 Respond with an integer.

Question 3 (Question id: q_luCO5):
Find the value of n in the equation: 20 - 11*n = -167 Respond with an integer.

Question 4 (Question id: q_FQE02):
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 leechs, 2 shrimps, 3 snakes, 1 lion, 3 wasps?
 Respond with an integer.

Question 5 (Question id: q_bpJpRNp):
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: "event"

Question 6 (Question id: q_agrBs):
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 chickens, 2 lobsters, 4 dogs, 2 bees?
 Respond with an integer.

Question 7 (Question id: q_7bqpJZCK):
Calculate -2 * -8.

Question 8 (Question id: q_Q2oZ):
Calculate ( 4 * 5 ) + -9.

Question 9 (Question id: q_By7Tp8x):
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: "matters"

Question 10 (Question id: q_bqtdy):
Find the value of l in the equation: l + 6 = 19 Respond with an integer.

Question 11 (Question id: q_GdolAVuU):
Solve for i: 6*i + 30 = 72 Respond with an integer.

Question 12 (Question id: q_IBDtKS):
How many times does the letter "a" appear in the text: "org contact"? Respond with an integer.

Question 13 (Question id: q_baLX):
Find the value of w in the equation: 120*w + 3 = 1203 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.
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_HVWzaPW": {"answer": 10, "half_answer": 5}, "q_PhZkJCu": {"answer": 38, "half_answer": 19}, "q_YVv1": {"answer": 10, "half_answer": 5}, "q_luCO5": {"answer": 17}, "q_FQE02": {"answer": 42, "half_answer": 21}, "q_bpJpRNp": {"answer": "t"}, "q_agrBs": {"answer": 52, "half_answer": 26}, "q_7bqpJZCK": {"answer": 16, "half_answer": 8}, "q_Q2oZ": {"answer": 11}, "q_By7Tp8x": {"answer": "s"}, "q_bqtdy": {"answer": 13}, "q_GdolAVuU": {"answer": 7}, "q_IBDtKS": {"answer": 1}, "q_baLX": {"answer": 10, "half_answer": 5}}}