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_SvFqHRm):
Calculate ( 1 - -4 - -8 ).

Question 1 (Question id: q_bG2dlNxW):
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 jellyfishs, 4 humans, 1 woodlouse?
 Respond with an integer.

Question 2 (Question id: q_56Ysn):
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: "of"

Question 3 (Question id: q_dP4tc):
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: "is"

Question 4 (Question id: q_vSpvsVK):
Find the value of g in the equation: 6 - 11*g = -71 Respond with an integer.

Question 5 (Question id: q_PYohMs):
Calculate 2 * 8 + 7.

Question 6 (Question id: q_twwoja):
Determine the value of g that satisfies: 6*g + 32 = 74 Respond with an integer.

Question 7 (Question id: q_SKpMfwd):
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: "and"

Question 8 (Question id: q_7LPY6R):
How many times does the letter "e" appear in the text: "to the full"? Respond with an integer.



Output JSON where all question ids are keys, omitting q_vSpvsVK, q_dP4tc.

Each key’s value must be an object holding an 'answer' field.
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.
When counting animal legs, include an 'animal_types' list of the distinct animal names (singular, sorted).

Now provide the result JSON using the described format.

{"ground_truth": {"q_56Ysn": {"answer": "f"}, "q_SvFqHRm": {"answer": 13}, "q_bG2dlNxW": {"answer": 22, "half_answer": 11, "animal_types": ["human", "jellyfish", "woodlouse"]}, "q_7LPY6R": {"answer": 1}, "q_SKpMfwd": {"answer": "d"}, "q_PYohMs": {"answer": 23}, "q_twwoja": {"answer": 7}}}