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_ehMn):
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 grasshoppers, 4 lobsters, 3 cockroachs, 3 snakes, 3 birds?
 Respond with an integer.

Question 1 (Question id: q_TTST):
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: "good"

Question 2 (Question id: q_ia1R):
How many times does the letter "g" appear in the text: "or creating derivative"? Respond with an integer.

Question 3 (Question id: q_ZfsqhXWX):
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: "sports"

Question 4 (Question id: q_8cAU):
Solve for z: 19 - 6*z = 7 Respond with an integer.

Question 5 (Question id: q_xtQOZ9rd):
Determine the value of g that satisfies: 8*g - 9 = 103 Respond with an integer.

Question 6 (Question id: q_Z9NTB):
Calculate ( -1 + 6 * 5 ).

Question 7 (Question id: q_ubKAXh):
How many times does the letter "l" appear in the text: "death he unhesitatingly"? Respond with an integer.



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.
For even integer answers, include 'half_answer' equal to answer ÷ 2.

Now provide the result JSON using the described format.

{"ground_truth": {"q_ehMn": {"answer": 82, "half_answer": 41}, "q_TTST": {"answer": "d"}, "q_ia1R": {"answer": 1}, "q_ZfsqhXWX": {"answer": "s"}, "q_8cAU": {"answer": 2, "half_answer": 1}, "q_xtQOZ9rd": {"answer": 14, "half_answer": 7}, "q_Z9NTB": {"answer": 29}, "q_ubKAXh": {"answer": 1}}}