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_SeBnrx):
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 horses, 3 sea slugs, 1 giraffe?
 Respond with an integer.

Question 1 (Question id: q_zfyJgg):
How many times does the letter "j" appear in the text: "Project Gutenberg"? Respond with an integer.

Question 2 (Question id: q_KdBKleS):
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 woodlouses, 4 praying mantiss, 2 beetles, 4 cockroachs, 1 lobster?
 Respond with an integer.

Question 3 (Question id: q_pyqL):
How many times does the letter "l" appear in the text: "displaying performing"? Respond with an integer.

Question 4 (Question id: q_NDTC):
Calculate ( 2 - -7 - 7 ).

Question 5 (Question id: q_mUjDtte):
Calculate 4 * 6.

Question 6 (Question id: q_hBle):
How many times does the letter "o" appear in the text: "warranties or the"? Respond with an integer.

Question 7 (Question id: q_iwqVzL):
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: "example"

Question 8 (Question id: q_YfITWVV):
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: "but"

Question 9 (Question id: q_ZC9BoVE):
How many times does the letter "t" appear in the text: "when he entered"? Respond with an integer.

Question 10 (Question id: q_43CkNiCN):
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 sheep, 1 human, 2 dogs, 2 ants, 3 giraffes?
 Respond with an integer.

Question 11 (Question id: q_wGfrYtl8):
Calculate 4 + ( 9 - -4 ).



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

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, also add the field 'half_answer' to the object which contains the answer integer divided by two.
For string answers, include 'first_char' with the answer’s initial letter.

Now provide the result JSON using the described format.

{"ground_truth": {"q_SeBnrx": {"answer": 12, "task_type": "leg_counting", "half_answer": 6}, "q_zfyJgg": {"answer": 1, "task_type": "letter_counting"}, "q_KdBKleS": {"answer": 98, "task_type": "leg_counting", "half_answer": 49}, "q_pyqL": {"answer": 1, "task_type": "letter_counting"}, "q_NDTC": {"answer": 2, "half_answer": 1}, "q_mUjDtte": {"answer": 24, "half_answer": 12}, "q_hBle": {"answer": 1, "task_type": "letter_counting"}, "q_iwqVzL": {"answer": "e", "first_char": "e"}, "q_YfITWVV": {"answer": "t", "first_char": "t"}, "q_ZC9BoVE": {"answer": 1, "task_type": "letter_counting"}, "q_43CkNiCN": {"answer": 38, "task_type": "leg_counting", "half_answer": 19}, "q_wGfrYtl8": {"answer": 17}}}