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_bUIwI):
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 snakes, 3 humans, 2 cows, 1 sea slug?
 Respond with an integer.

Question 1 (Question id: q_kNx0e):
How many times does the letter "f" appear in the text: "freely distributed in"? Respond with an integer.

Question 2 (Question id: q_m3zRWJ):
Calculate -5 * -3 - -2.



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

Each key’s value must be an object holding an 'answer' field. Additionally, if the task is about counting legs of animals or counting letters in a string, add the task_type field with value 'leg_counting' or 'letter_counting', respectively.
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.
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_m3zRWJ": {"answer": 17}, "q_bUIwI": {"answer": 14, "task_type": "leg_counting", "additional_answer_info": {"half_answer": 7, "double_answer": 28}, "animal_types": ["cow", "human", "sea slug", "snake"]}}}