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_47GvbZAK):
Determine the value of n that satisfies: 13 - 5*n = -67 Respond with an integer.

Question 1 (Question id: q_KHaS6a):
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"

Question 2 (Question id: q_5fksX):
How many times does the letter "n" appear in the text: "department and tell"? Respond with an integer.

Question 3 (Question id: q_JFNySTj):
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 4 (Question id: q_GejOBAX):
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 horses, 2 dogs, 3 lobsters, 2 flatworms?
 Respond with an integer.

Question 5 (Question id: q_ZjPNV8):
Calculate ( 2 - -5 ).

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

Question 7 (Question id: q_MtcA):
Solve for f: 9*f + 2 = 146 Respond with an integer.

Question 8 (Question id: q_U6XyHKd):
Calculate 8 + 7.

Question 9 (Question id: q_7wru):
How many times does the letter "m" appear in the text: "without combustion or"? Respond with an integer.

Question 10 (Question id: q_UvVwG):
Determine the value of w that satisfies: 18*w + 12 = 66 Respond with an integer.

Question 11 (Question id: q_nD9L):
Calculate ( 8 - 8 ).

Question 12 (Question id: q_KUloY3):
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 elephants, 1 giraffe, 3 sea slugs, 2 wasps, 2 spiders?
 Respond with an integer.

Question 13 (Question id: q_D7OGQEhv):
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, 3 starfishs, 2 crabs, 4 leechs?
 Respond with an integer.



Produce a JSON object whose top-level keys are the question ids.

For every question id, supply an object whose 'answer' field stores the solution.
Include an 'answer_type' field (value 'string' or 'integer') for every answer object.
For even integer answers, include 'half_answer' equal to answer ÷ 2.
For last-character tasks, provide 'original_string' alongside the answer.
For animal-leg questions, add 'animal_types': an alphabetically-sorted list of unique animal names in singular form.

Add a top-level 'global_metadata' field that records overall stats:
• num_questions_asked – total number of questions originally shown.

Now provide the result JSON using the described format.

{"ground_truth": {"q_47GvbZAK": {"answer": 16, "answer_type": "integer", "half_answer": 8}, "q_KHaS6a": {"answer": "d", "answer_type": "string", "original_string": "and"}, "q_5fksX": {"answer": 2, "answer_type": "integer", "half_answer": 1}, "q_JFNySTj": {"answer": "w", "answer_type": "string", "original_string": "new"}, "q_GejOBAX": {"answer": 50, "answer_type": "integer", "half_answer": 25, "animal_types": ["dog", "flatworm", "horse", "lobster"]}, "q_ZjPNV8": {"answer": 7, "answer_type": "integer"}, "q_1jkVCnQ": {"answer": "d", "answer_type": "string", "original_string": "and"}, "q_MtcA": {"answer": 16, "answer_type": "integer", "half_answer": 8}, "q_U6XyHKd": {"answer": 15, "answer_type": "integer"}, "q_7wru": {"answer": 1, "answer_type": "integer"}, "q_UvVwG": {"answer": 3, "answer_type": "integer"}, "q_nD9L": {"answer": 0, "answer_type": "integer", "half_answer": 0}, "q_KUloY3": {"answer": 48, "answer_type": "integer", "half_answer": 24, "animal_types": ["elephant", "giraffe", "sea slug", "spider", "wasp"]}, "q_D7OGQEhv": {"answer": 41, "answer_type": "integer", "animal_types": ["crab", "grasshopper", "leech", "starfish"]}, "global_metadata": {"num_questions_asked": 14}}}