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_tuRYwkM):
Calculate -1 + 9 - 5.

Question 1 (Question id: q_4E7HLzl):
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 elephants, 4 praying mantiss, 3 humans, 1 chicken?
 Respond with an integer.

Question 2 (Question id: q_NLeDrU):
Find the value of f in the equation: 170*f + 9 = 1029 Respond with an integer.

Question 3 (Question id: q_Dopm2egE):
Calculate 5 + -3.

Question 4 (Question id: q_xn6GKz9):
Calculate 5 / 1 + 6.

Question 5 (Question id: q_w5Dr8Qau):
Calculate ( 3 - -3 ).

Question 6 (Question id: q_AZbX8QC):
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 tigers, 2 fireflys, 4 cows, 3 butterflys, 3 flatworms?
 Respond with an integer.

Question 7 (Question id: q_W7nvi):
How many times does the letter "h" appear in the text: "harmless from"? Respond with an integer.

Question 8 (Question id: q_qif0y):
Calculate 8 - 5.

Question 9 (Question id: q_J0MMgj):
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 10 (Question id: q_Q5M7DY):
Calculate ( -7 + 7 ).



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.
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, add the field 'additional_answer_info' containing 'half_answer' (answer ÷ 2) and 'double_answer' (answer × 2).
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.

Now provide the result JSON using the described format.

{"ground_truth": {"q_tuRYwkM": {"answer": 3, "answer_type": "integer"}, "q_4E7HLzl": {"answer": 76, "answer_type": "integer", "additional_answer_info": {"half_answer": 38, "double_answer": 152}}, "q_NLeDrU": {"answer": 6, "answer_type": "integer", "additional_answer_info": {"half_answer": 3, "double_answer": 12}}, "q_Dopm2egE": {"answer": 2, "answer_type": "integer", "additional_answer_info": {"half_answer": 1, "double_answer": 4}}, "q_xn6GKz9": {"answer": 11, "answer_type": "integer"}, "q_w5Dr8Qau": {"answer": 6, "answer_type": "integer", "additional_answer_info": {"half_answer": 3, "double_answer": 12}}, "q_AZbX8QC": {"answer": 58, "answer_type": "integer", "additional_answer_info": {"half_answer": 29, "double_answer": 116}}, "q_W7nvi": {"answer": 1, "answer_type": "integer"}, "q_qif0y": {"answer": 3, "answer_type": "integer"}, "q_J0MMgj": {"answer": "e", "answer_type": "string", "first_char": "e", "original_string": "the"}, "q_Q5M7DY": {"answer": 0, "answer_type": "integer", "additional_answer_info": {"half_answer": 0, "double_answer": 0}}}}