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_YKWr):
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: "just"

Question 1 (Question id: q_LuBaC):
Determine the value of o that satisfies: 6 - 11*o = -214 Respond with an integer.

Question 2 (Question id: q_bTIHKuN):
Determine the value of n that satisfies: 10 - 6*n = -80 Respond with an integer.

Question 3 (Question id: q_5rTP9):
Solve for x: 18*x + 11 = 299 Respond with an integer.

Question 4 (Question id: q_IbKajvi0):
Calculate ( ( 0 * 5 ) ) * -4.

Question 5 (Question id: q_47UsAd):
How many times does the letter "e" appear in the text: "maid discusses interesting"? Respond with an integer.

Question 6 (Question id: q_KWTDCOr):
Solve for k: 8*k + 76 = 204 Respond with an integer.

Question 7 (Question id: q_qcGnIw):
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 flatworms, 3 wasps, 2 sea slugs?
 Respond with an integer.



Return a JSON with each question id (except for q_KWTDCOr, q_bTIHKuN, q_47UsAd) 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 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_IbKajvi0": {"answer": 0, "half_answer": 0}, "q_YKWr": {"answer": "t", "original_string": "just"}, "q_LuBaC": {"answer": 20, "half_answer": 10}, "q_qcGnIw": {"answer": 18, "half_answer": 9}, "q_5rTP9": {"answer": 16, "half_answer": 8}}}