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_nGAC9):
Calculate ( -2 - -9 ).

Question 1 (Question id: q_eX8yygy):
Determine the value of e that satisfies: 32 - 16*e = -80 Respond with an integer.

Question 2 (Question id: q_EeeLAm):
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 cockroachs, 1 firefly, 1 insect?
 Respond with an integer.

Question 3 (Question id: q_Iz1X):
How many times does the letter "o" appear in the text: "to scientific"? Respond with an integer.

Question 4 (Question id: q_sTBFqhb3):
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: "is"

Question 5 (Question id: q_piV8MbV):
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: "new"

Question 6 (Question id: q_zzQlt5):
Calculate -2 - -7.

Question 7 (Question id: q_SqbED):
How many times does the letter "h" appear in the text: "dreaming She is"? Respond with an integer.

Question 8 (Question id: q_kzpI3d):
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 grasshopper, 1 praying mantis, 3 sheeps, 1 crab, 4 woodlouses?
 Respond with an integer.

Question 9 (Question id: q_3U5SH):
Solve for t: 5*t + 3 = 53 Respond with an integer.

Question 10 (Question id: q_gARmiO):
Determine the value of m that satisfies: 10*m + 36 = 186 Respond with an integer.

Question 11 (Question id: q_3Lx5gxse):
Determine the value of d that satisfies: 9*d + 144 = 216 Respond with an integer.

Question 12 (Question id: q_odPVE):
Calculate ( ( 5 + 2 ) ).



Return a JSON with each question id as a key.

The value for each key should be an object that contains the answer in the field 'answer'. 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.
Include an 'answer_type' field (value 'string' or 'integer') for every answer 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.

Beyond the question-id fields, add a 'global_metadata' object with summary information:
• num_questions_asked – total number of questions originally shown.
Record the answered-question count in the field 'num_questions_answered'.
Provide 'questions_with_integer_answers', listing ids with integer answers (or [] if no integers).

Now provide the result JSON using the described format.

{"ground_truth": {"q_nGAC9": {"answer": 7, "answer_type": "integer"}, "q_eX8yygy": {"answer": 7, "answer_type": "integer"}, "q_EeeLAm": {"answer": 36, "task_type": "leg_counting", "answer_type": "integer", "additional_answer_info": {"half_answer": 18, "double_answer": 72}}, "q_Iz1X": {"answer": 1, "task_type": "letter_counting", "answer_type": "integer"}, "q_sTBFqhb3": {"answer": "s", "answer_type": "string", "first_char": "s"}, "q_piV8MbV": {"answer": "w", "answer_type": "string", "first_char": "w"}, "q_zzQlt5": {"answer": 5, "answer_type": "integer"}, "q_SqbED": {"answer": 1, "task_type": "letter_counting", "answer_type": "integer"}, "q_kzpI3d": {"answer": 90, "task_type": "leg_counting", "answer_type": "integer", "additional_answer_info": {"half_answer": 45, "double_answer": 180}}, "q_3U5SH": {"answer": 10, "answer_type": "integer", "additional_answer_info": {"half_answer": 5, "double_answer": 20}}, "q_gARmiO": {"answer": 15, "answer_type": "integer"}, "q_3Lx5gxse": {"answer": 8, "answer_type": "integer", "additional_answer_info": {"half_answer": 4, "double_answer": 16}}, "q_odPVE": {"answer": 7, "answer_type": "integer"}, "global_metadata": {"num_questions_asked": 13, "num_questions_answered": 13, "questions_with_integer_answers": ["q_nGAC9", "q_eX8yygy", "q_EeeLAm", "q_Iz1X", "q_zzQlt5", "q_SqbED", "q_kzpI3d", "q_3U5SH", "q_gARmiO", "q_3Lx5gxse", "q_odPVE"]}}}