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_2M2Lw4):
Solve for a: 155 - 8*a = 131 Respond with an integer.

Question 1 (Question id: q_Ct3M):
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 cockroach, 1 flatworm, 3 giraffes, 1 snake?
 Respond with an integer.

Question 2 (Question id: q_2AuCA9l):
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: "made"

Question 3 (Question id: q_8FSCm69):
Calculate 5 / 1 + 3.

Question 4 (Question id: q_NZDDXo):
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: "it"

Question 5 (Question id: q_YV2d6):
Calculate 8 * 1.

Question 6 (Question id: q_T1es):
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: "respect"

Question 7 (Question id: q_bzg8ds1z):
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 deers, 3 humans, 2 insects, 4 tigers?
 Respond with an integer.

Question 8 (Question id: q_j9YizCes):
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 crabs, 1 horse, 2 birds, 2 woodlouses, 4 deers?
 Respond with an integer.

Question 9 (Question id: q_IErYjx):
Calculate 1 * 0 + 5.

Question 10 (Question id: q_0ueUyt5):
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 11 (Question id: q_scmP1):
How many times does the letter "e" appear in the text: "chemist and engaged"? Respond with an integer.



Your output must be a JSON mapping every question id to its answer info.

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.
For string answers, include 'first_char' with the answer’s initial letter.
If the question asks for the last character of a string, add an 'original_string' field containing the source string.

Now provide the result JSON using the described format.

{"ground_truth": {"q_2M2Lw4": {"answer": 3}, "q_Ct3M": {"answer": 18, "half_answer": 9}, "q_2AuCA9l": {"answer": "e", "first_char": "e", "original_string": "made"}, "q_8FSCm69": {"answer": 8, "half_answer": 4}, "q_NZDDXo": {"answer": "t", "first_char": "t", "original_string": "it"}, "q_YV2d6": {"answer": 8, "half_answer": 4}, "q_T1es": {"answer": "t", "first_char": "t", "original_string": "respect"}, "q_bzg8ds1z": {"answer": 68, "half_answer": 34}, "q_j9YizCes": {"answer": 72, "half_answer": 36}, "q_IErYjx": {"answer": 5}, "q_0ueUyt5": {"answer": "d", "first_char": "d", "original_string": "and"}, "q_scmP1": {"answer": 3}}}