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_3kq1):
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 tigers, 3 sheeps, 2 jellyfishs?
 Respond with an integer.

Question 1 (Question id: q_usLIiM):
How many times does the letter "i" appear in the text: "Dr Nathaniel Faithburn"? Respond with an integer.

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

Question 3 (Question id: q_TTEylJKL):
Calculate 2 / 2 + 4.

Question 4 (Question id: q_DiuJdch):
How many times does the letter "b" appear in the text: "the questionable"? Respond with an integer.

Question 5 (Question id: q_6lZZJRDy):
Calculate -7 / 7 + 8.

Question 6 (Question id: q_RqlZ4u):
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: "connected"

Question 7 (Question id: q_CnNElN82):
Find the value of v in the equation: 8 - 9*v = -10 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.
Also add the answer type as 'string' or 'integer' to the field 'answer_type' for each object.
If the response to a question is an integer that is even, also add the field 'half_answer' to the object which contains the answer integer divided by two.
If the question asks for the last character of a string, add an 'original_string' field containing the source string.

Now provide the result JSON using the described format.

{"ground_truth": {"q_3kq1": {"answer": 28, "answer_type": "integer", "half_answer": 14}, "q_usLIiM": {"answer": 2, "answer_type": "integer", "half_answer": 1}, "q_soV2f8": {"answer": 1, "answer_type": "integer"}, "q_TTEylJKL": {"answer": 5, "answer_type": "integer"}, "q_DiuJdch": {"answer": 1, "answer_type": "integer"}, "q_6lZZJRDy": {"answer": 7, "answer_type": "integer"}, "q_RqlZ4u": {"answer": "d", "answer_type": "string", "original_string": "connected"}, "q_CnNElN82": {"answer": 2, "answer_type": "integer", "half_answer": 1}}}