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_JRuy):
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 chickens, 1 praying mantis, 1 flatworm?
 Respond with an integer.

Question 1 (Question id: q_8NosEYUW):
How many times does the letter "g" appear in the text: "See paragraph"? Respond with an integer.

Question 2 (Question id: q_nWDO64):
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: "or"

Question 3 (Question id: q_tCkiKdF3):
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 ant, 2 cats, 4 woodlouses, 4 elephants, 1 sheep?
 Respond with an integer.

Question 4 (Question id: q_tJgu01p):
Calculate -5 - -7 + 3.

Question 5 (Question id: q_S48C):
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: "helps"

Question 6 (Question id: q_D9vCDgRg):
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 beetle, 2 cockroachs, 4 insects?
 Respond with an integer.

Question 7 (Question id: q_lokuyh):
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_KTILuk):
Calculate ( 0 * 6 ).

Question 9 (Question id: q_dOoM):
Find the value of u in the equation: 378*u - 15 = 1119 Respond with an integer.

Question 10 (Question id: q_n51y0r):
Determine the value of k that satisfies: 6*k + 11 = 107 Respond with an integer.

Question 11 (Question id: q_NHgccQ0K):
Calculate ( -4 + 5 - -3 ).

Question 12 (Question id: q_5ht3AI):
Calculate 5 * 7.



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.
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_JRuy": {"answer": 10, "half_answer": 5}, "q_8NosEYUW": {"answer": 1}, "q_nWDO64": {"answer": "r", "original_string": "or"}, "q_tCkiKdF3": {"answer": 90, "half_answer": 45}, "q_tJgu01p": {"answer": 5}, "q_S48C": {"answer": "s", "original_string": "helps"}, "q_D9vCDgRg": {"answer": 42, "half_answer": 21}, "q_lokuyh": {"answer": "d", "original_string": "and"}, "q_KTILuk": {"answer": 0, "half_answer": 0}, "q_dOoM": {"answer": 3}, "q_n51y0r": {"answer": 16, "half_answer": 8}, "q_NHgccQ0K": {"answer": 4, "half_answer": 2}, "q_5ht3AI": {"answer": 35}}}