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_Mo8Irn):
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: "that"

Question 1 (Question id: q_g9n5Os):
Calculate -7 + 8.

Question 2 (Question id: q_TX3gpG9):
Calculate 7 - -8 / 8.

Question 3 (Question id: q_D9VB):
Determine the value of m that satisfies: 13*m - 11 = 106 Respond with an integer.

Question 4 (Question id: q_scqfq3w):
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 spiders, 3 flatworms, 2 bees, 4 lions, 1 cricket?
 Respond with an integer.

Question 5 (Question id: q_XR0byxx):
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 starfish, 4 lions, 2 sheeps?
 Respond with an integer.

Question 6 (Question id: q_tGcDB):
Solve for a: 520*a = 9880 Respond with an integer.

Question 7 (Question id: q_zaxnbC):
Calculate 0 / 6 + 1.

Question 8 (Question id: q_bppdtMU):
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 crabs, 2 scorpions, 2 humans, 4 chickens?
 Respond with an integer.

Question 9 (Question id: q_s0ir):
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: "time"

Question 10 (Question id: q_la6rRS):
Calculate 8 / 4.

Question 11 (Question id: q_Dx6z0):
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 chickens, 4 humans, 1 grasshopper, 1 lion?
 Respond with an integer.

Question 12 (Question id: q_23t53wH0):
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 fireflys, 3 woodlouses, 1 beetle?
 Respond with an integer.



Return a JSON with each question id (except for q_D9VB, q_zaxnbC, q_Mo8Irn, q_s0ir, q_23t53wH0) as a key.

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.
If the response to a question is a string, add a 'first_char' field containing its first character.
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_la6rRS": {"answer": 2, "half_answer": 1}, "q_TX3gpG9": {"answer": 8, "half_answer": 4}, "q_scqfq3w": {"answer": 66, "half_answer": 33, "animal_types": ["bee", "cricket", "flatworm", "lion", "spider"]}, "q_tGcDB": {"answer": 19}, "q_Dx6z0": {"answer": 24, "half_answer": 12, "animal_types": ["chicken", "grasshopper", "human", "lion"]}, "q_g9n5Os": {"answer": 1}, "q_bppdtMU": {"answer": 58, "half_answer": 29, "animal_types": ["chicken", "crab", "human", "scorpion"]}, "q_XR0byxx": {"answer": 29, "animal_types": ["lion", "sheep", "starfish"]}}}