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_LxwFStx):
Calculate -5 * 5 * -2.

Question 1 (Question id: q_qApff):
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: "ways"

Question 2 (Question id: q_ESso):
How many times does the letter "y" appear in the text: "you cause"? Respond with an integer.

Question 3 (Question id: q_gZqO):
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 elephant, 3 crabs, 2 praying mantiss?
 Respond with an integer.

Question 4 (Question id: q_k2K13):
Solve for g: 2*g - 11 = 19 Respond with an integer.

Question 5 (Question id: q_skHQvES):
How many times does the letter "n" appear in the text: "this agreement"? Respond with an integer.

Question 6 (Question id: q_nSlwYrB7):
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: "spirit"

Question 7 (Question id: q_EsbWyJKv):
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 fireflys, 2 flatworms?
 Respond with an integer.

Question 8 (Question id: q_2rOm):
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: "make"

Question 9 (Question id: q_Qjba):
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 3 wasps, 2 horses, 1 ant, 2 lions, 1 crab?
 Respond with an integer.



Output JSON where all question ids are keys, omitting q_nSlwYrB7, q_2rOm, q_LxwFStx.

Each key’s value must be an object holding an 'answer' field.
Include an 'answer_type' field (value 'string' or 'integer') for every answer object.
If the response to a question is an integer that is even, add the field 'additional_answer_info' containing 'half_answer' (answer ÷ 2) and 'double_answer' (answer × 2).
For last-character tasks, provide 'original_string' alongside the answer.
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_skHQvES": {"answer": 1, "answer_type": "integer"}, "q_Qjba": {"answer": 50, "answer_type": "integer", "additional_answer_info": {"half_answer": 25, "double_answer": 100}, "animal_types": ["ant", "crab", "horse", "lion", "wasp"]}, "q_ESso": {"answer": 1, "answer_type": "integer"}, "q_gZqO": {"answer": 46, "answer_type": "integer", "additional_answer_info": {"half_answer": 23, "double_answer": 92}, "animal_types": ["crab", "elephant", "praying mantis"]}, "q_k2K13": {"answer": 15, "answer_type": "integer"}, "q_EsbWyJKv": {"answer": 14, "answer_type": "integer", "additional_answer_info": {"half_answer": 7, "double_answer": 28}, "animal_types": ["chicken", "firefly", "flatworm"]}, "q_qApff": {"answer": "s", "answer_type": "string", "original_string": "ways"}}}