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_Sx3egzjV):
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 1 (Question id: q_SbhULynb):
Solve for p: 12*p + 15 = 51 Respond with an integer.

Question 2 (Question id: q_DYJ1):
Calculate 3 / 3.

Question 3 (Question id: q_dLAK1A):
Calculate 7 + 0 - -5.

Question 4 (Question id: q_XkLig):
Determine the value of p that satisfies: 18*p - 16 = 56 Respond with an integer.

Question 5 (Question id: q_AxkJy0b):
How many times does the letter "a" appear in the text: "a hundred years"? Respond with an integer.

Question 6 (Question id: q_FYzyjaA):
Calculate 3 / 3.

Question 7 (Question id: q_O221w):
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 scorpions, 3 insects, 4 cats, 3 snakes?
 Respond with an integer.

Question 8 (Question id: q_I27m):
How many times does the letter "w" appear in the text: "in writing"? Respond with an integer.

Question 9 (Question id: q_iaAs2l40):
Calculate -7 - -5 + 5.

Question 10 (Question id: q_6R0T):
How many times does the letter "e" appear in the text: "commenced work"? Respond with an integer.

Question 11 (Question id: q_ZTsut):
Determine the value of c that satisfies: 12*c + 29 = 149 Respond with an integer.



Produce a JSON object whose top-level keys are the question ids.

Each key’s value must be an object holding an 'answer' field.
For even integer answers, include 'half_answer' equal to answer ÷ 2.

Now provide the result JSON using the described format.

{"ground_truth": {"q_Sx3egzjV": {"answer": "s"}, "q_SbhULynb": {"answer": 3}, "q_DYJ1": {"answer": 1}, "q_dLAK1A": {"answer": 12, "half_answer": 6}, "q_XkLig": {"answer": 4, "half_answer": 2}, "q_AxkJy0b": {"answer": 2, "half_answer": 1}, "q_FYzyjaA": {"answer": 1}, "q_O221w": {"answer": 50, "half_answer": 25}, "q_I27m": {"answer": 1}, "q_iaAs2l40": {"answer": 3}, "q_6R0T": {"answer": 2, "half_answer": 1}, "q_ZTsut": {"answer": 10, "half_answer": 5}}}