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_RKaoqg1):
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: "in"

Question 1 (Question id: q_wNnQEhH7):
Solve for y: 27 - 255*y = -2013 Respond with an integer.

Question 2 (Question id: q_MDQ6OM):
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 flatworms, 4 shrimps, 4 wasps?
 Respond with an integer.

Question 3 (Question id: q_ehGpiKjS):
How many times does the letter "r" appear in the text: "FITNESS FOR"? Respond with an integer.

Question 4 (Question id: q_L1FJM):
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 deers, 3 cats, 3 lobsters, 4 wasps?
 Respond with an integer.

Question 5 (Question id: q_lyxzeKb):
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: "interacting"

Question 6 (Question id: q_SyTNhxK):
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: "evolution"

Question 7 (Question id: q_fsPNONyE):
Find the value of e in the equation: 19 - 10*e = -111 Respond with an integer.



Return a JSON with each question id (except for q_fsPNONyE) as a key.

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 string answers, include 'first_char' with the answer’s initial letter.
For last-character tasks, provide 'original_string' alongside the answer.
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_lyxzeKb": {"answer": "g", "answer_type": "string", "first_char": "g", "original_string": "interacting"}, "q_L1FJM": {"answer": 82, "answer_type": "integer", "additional_answer_info": {"half_answer": 41, "double_answer": 164}, "animal_types": ["cat", "deer", "lobster", "wasp"]}, "q_RKaoqg1": {"answer": "n", "answer_type": "string", "first_char": "n", "original_string": "in"}, "q_MDQ6OM": {"answer": 64, "answer_type": "integer", "additional_answer_info": {"half_answer": 32, "double_answer": 128}, "animal_types": ["flatworm", "shrimp", "wasp"]}, "q_wNnQEhH7": {"answer": 8, "answer_type": "integer", "additional_answer_info": {"half_answer": 4, "double_answer": 16}}, "q_SyTNhxK": {"answer": "n", "answer_type": "string", "first_char": "n", "original_string": "evolution"}, "q_ehGpiKjS": {"answer": 1, "answer_type": "integer"}}}