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_PPid):
Calculate -3 * -4.

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

Question 2 (Question id: q_gSY8u):
How many times does the letter "g" appear in the text: "begun First"? Respond with an integer.

Question 3 (Question id: q_2XOKNn):
How many times does the letter "w" appear in the text: "wish to"? Respond with an integer.

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

Question 5 (Question id: q_dDcp6):
How many times does the letter "h" appear in the text: "everywhere except there"? Respond with an integer.

Question 6 (Question id: q_rGe88zqu):
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 insect, 3 crickets, 1 elephant, 1 spider, 4 cows?
 Respond with an integer.

Question 7 (Question id: q_XEVb):
How many times does the letter "t" appear in the text: "of this agreement"? Respond with an integer.

Question 8 (Question id: q_KaBN):
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 chickens, 3 cats, 2 spiders?
 Respond with an integer.

Question 9 (Question id: q_AgM8IO0X):
Calculate -9 - -2 - -8.

Question 10 (Question id: q_dHLRBN):
How many times does the letter "m" appear in the text: "comply either with"? Respond with an integer.



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

The value for each key should be an object that contains the answer in the field 'answer'.
For even integer answers, include 'half_answer' equal to answer ÷ 2.
If the question asks for the last character of a string, add an 'original_string' field containing the source string.
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: how many questions were asked in total.

Now provide the result JSON using the described format.

{"ground_truth": {"q_PPid": {"answer": 12, "half_answer": 6}, "q_pkmns0": {"answer": "s", "original_string": "includes"}, "q_gSY8u": {"answer": 1}, "q_2XOKNn": {"answer": 1}, "q_uchiCW19": {"answer": 82, "half_answer": 41, "animal_types": ["cockroach", "horse", "insect", "shrimp", "spider"]}, "q_dDcp6": {"answer": 2, "half_answer": 1}, "q_rGe88zqu": {"answer": 52, "half_answer": 26, "animal_types": ["cow", "cricket", "elephant", "insect", "spider"]}, "q_XEVb": {"answer": 2, "half_answer": 1}, "q_KaBN": {"answer": 34, "half_answer": 17, "animal_types": ["cat", "chicken", "spider"]}, "q_AgM8IO0X": {"answer": 1}, "q_dHLRBN": {"answer": 1}, "global_metadata": {"num_questions_asked": 11}}}