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_IiVid):
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 birds, 4 snakes, 1 spider, 3 sheeps, 3 ants?
 Respond with an integer.

Question 1 (Question id: q_JMYWEWB):
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: "the"

Question 2 (Question id: q_r18EYSR):
Find the value of h in the equation: 29 - 2*h = -11 Respond with an integer.

Question 3 (Question id: q_9d9I7):
How many times does the letter "y" appear in the text: "of yesterday A"? Respond with an integer.

Question 4 (Question id: q_1OoGH):
How many times does the letter "h" appear in the text: "or charges"? Respond with an integer.



Return a JSON with each question id 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.

Now provide the result JSON using the described format.

{"ground_truth": {"q_IiVid": {"answer": 44, "task_type": "leg_counting", "additional_answer_info": {"half_answer": 22, "double_answer": 88}}, "q_JMYWEWB": {"answer": "e", "first_char": "e"}, "q_r18EYSR": {"answer": 20, "additional_answer_info": {"half_answer": 10, "double_answer": 40}}, "q_9d9I7": {"answer": 2, "task_type": "letter_counting", "additional_answer_info": {"half_answer": 1, "double_answer": 4}}, "q_1OoGH": {"answer": 1, "task_type": "letter_counting"}}}