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_5iyT):
Calculate ( -2 * -6 ).

Question 1 (Question id: q_WfGAqRIX):
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 spider, 3 bees, 1 lion, 1 jellyfish?
 Respond with an integer.

Question 2 (Question id: q_p0kgQ):
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: "small"

Question 3 (Question id: q_WLcgXCB):
How many times does the letter "i" appear in the text: "Project Gutenberg electronic"? Respond with an integer.

Question 4 (Question id: q_6JbNVb5):
Find the value of p in the equation: 5*p + 15 = 65 Respond with an integer.

Question 5 (Question id: q_QnUhlaV):
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 6 (Question id: q_GCTvIi):
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 snakes, 2 bees, 1 leech, 4 lobsters?
 Respond with an integer.



Your output must be a JSON mapping every question id to its answer info.

For every question id, supply an object whose 'answer' field stores the solution.
Include an 'answer_type' field (value 'string' or 'integer') for every answer object.
For even integers, nest 'half_answer' and 'double_answer' inside an additional 'additional_answer_info' field in the answer object.
If the response to a question is a string, add a 'first_char' field containing its first character.
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_5iyT": {"answer": 12, "answer_type": "integer", "additional_answer_info": {"half_answer": 6, "double_answer": 24}}, "q_WfGAqRIX": {"answer": 30, "answer_type": "integer", "additional_answer_info": {"half_answer": 15, "double_answer": 60}, "animal_types": ["bee", "jellyfish", "lion", "spider"]}, "q_p0kgQ": {"answer": "l", "answer_type": "string", "first_char": "l", "original_string": "small"}, "q_WLcgXCB": {"answer": 1, "answer_type": "integer"}, "q_6JbNVb5": {"answer": 10, "answer_type": "integer", "additional_answer_info": {"half_answer": 5, "double_answer": 20}}, "q_QnUhlaV": {"answer": "d", "answer_type": "string", "first_char": "d", "original_string": "and"}, "q_GCTvIi": {"answer": 52, "answer_type": "integer", "additional_answer_info": {"half_answer": 26, "double_answer": 104}, "animal_types": ["bee", "leech", "lobster", "snake"]}}}