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_p4KjAx):
Find the value of z in the equation: 20 - 4*z = -36 Respond with an integer.

Question 1 (Question id: q_pr7EE5zS):
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 cockroachs, 3 deers, 4 birds, 3 fireflys?
 Respond with an integer.

Question 2 (Question id: q_hfZ39):
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: "hospitals"

Question 3 (Question id: q_UD0EhDO):
Calculate ( -1 - -4 ).



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 integers, nest 'half_answer' and 'double_answer' inside an additional 'additional_answer_info' field in the answer object.
For string answers, include 'first_char' with the answer’s initial letter.
For animal-leg questions, add 'animal_types': an alphabetically-sorted list of unique animal names in singular form.

Now provide the result JSON using the described format.

{"ground_truth": {"q_p4KjAx": {"answer": 14, "additional_answer_info": {"half_answer": 7, "double_answer": 28}}, "q_pr7EE5zS": {"answer": 62, "additional_answer_info": {"half_answer": 31, "double_answer": 124}, "animal_types": ["bird", "cockroach", "deer", "firefly"]}, "q_hfZ39": {"answer": "s", "first_char": "s"}, "q_UD0EhDO": {"answer": 3}}}