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_tMsm):
Solve for z: -11*z - 6 = -116 Respond with an integer.

Question 1 (Question id: q_YKWz2):
Solve for m: -30*m - 2 = -542 Respond with an integer.

Question 2 (Question id: q_o7wAzy9):
How many times does the letter "t" appear in the text: "for the opposite"? Respond with an integer.

Question 3 (Question id: q_BsNEOt):
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 crabs, 1 jellyfish, 2 spiders, 3 humans, 1 tiger?
 Respond with an integer.

Question 4 (Question id: q_hWVq4f):
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 deer, 2 butterflys, 4 praying mantiss, 1 cricket?
 Respond with an integer.

Question 5 (Question id: q_9LH67uLI):
Solve for m: -18*m - 8 = -224 Respond with an integer.

Question 6 (Question id: q_GtlGR):
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: "and"



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'.
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 last-character tasks, provide 'original_string' alongside the answer.
When counting animal legs, include an 'animal_types' list of the distinct animal names (singular, sorted).

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'.
Fill 'questions_with_integer_answers' with the ids of integer-answer questions (leave empty when none).

Now provide the result JSON using the described format.

{"ground_truth": {"q_tMsm": {"answer": 10, "half_answer": 5}, "q_YKWz2": {"answer": 18, "half_answer": 9}, "q_o7wAzy9": {"answer": 2, "half_answer": 1}, "q_BsNEOt": {"answer": 66, "half_answer": 33, "animal_types": ["crab", "human", "jellyfish", "spider", "tiger"]}, "q_hWVq4f": {"answer": 46, "half_answer": 23, "animal_types": ["butterfly", "cricket", "deer", "praying mantis"]}, "q_9LH67uLI": {"answer": 12, "half_answer": 6}, "q_GtlGR": {"answer": "d", "original_string": "and"}, "global_metadata": {"num_questions_asked": 7, "num_questions_answered": 7, "questions_with_integer_answers": ["q_tMsm", "q_YKWz2", "q_o7wAzy9", "q_BsNEOt", "q_hWVq4f", "q_9LH67uLI"]}}}