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_NB6TYK5):
Determine the value of p that satisfies: 14*p + 15 = 43 Respond with an integer.

Question 1 (Question id: q_b7VKCj):
Calculate ( ( -7 * -3 ) ).

Question 2 (Question id: q_uD9FN):
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 chicken, 2 crabs, 1 human?
 Respond with an integer.

Question 3 (Question id: q_b7Qj1iZ3):
How many times does the letter "c" appear in the text: "distance of 60"? Respond with an integer.

Question 4 (Question id: q_RvdMhZ):
Calculate ( 9 + -8 ).

Question 5 (Question id: q_Qky976b):
Calculate ( -1 - 2 ) - -3.

Question 6 (Question id: q_b7PLD):
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 7 (Question id: q_cyhx13):
Calculate ( -3 * 2 + 7 ).

Question 8 (Question id: q_MSMei):
Calculate ( 5 + 5 ) / 10.



Return a JSON with each question id as a key.

For every question id, supply an object whose 'answer' field stores the solution.
Also add the answer type as 'string' or 'integer' to the field 'answer_type' for each object.
For even integer answers, include 'half_answer' equal to answer ÷ 2.
For string answers, include 'first_char' with the answer’s initial letter.
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_NB6TYK5": {"answer": 2, "answer_type": "integer", "half_answer": 1}, "q_b7VKCj": {"answer": 21, "answer_type": "integer"}, "q_uD9FN": {"answer": 24, "answer_type": "integer", "half_answer": 12, "animal_types": ["chicken", "crab", "human"]}, "q_b7Qj1iZ3": {"answer": 1, "answer_type": "integer"}, "q_RvdMhZ": {"answer": 1, "answer_type": "integer"}, "q_Qky976b": {"answer": 0, "answer_type": "integer", "half_answer": 0}, "q_b7PLD": {"answer": "d", "answer_type": "string", "first_char": "d"}, "q_cyhx13": {"answer": 1, "answer_type": "integer"}, "q_MSMei": {"answer": 1, "answer_type": "integer"}}}