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_CGJoS):
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 spiders, 4 beetles, 2 ants, 4 sheeps?
 Respond with an integer.

Question 1 (Question id: q_c7wXFy):
Calculate -8 * -2 / 2.

Question 2 (Question id: q_rlVxc):
Calculate -6 / 2 + 7.

Question 3 (Question id: q_2p8RJN):
Calculate 0 - -6 / 3.

Question 4 (Question id: q_n9Chd):
How many times does the letter "n" appear in the text: "depend on the"? Respond with an integer.

Question 5 (Question id: q_KzLgoWZW):
How many times does the letter "h" appear in the text: "of each"? Respond with an integer.

Question 6 (Question id: q_5yCWSZ):
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 snakes, 2 cockroachs, 2 lobsters, 3 dogs?
 Respond with an integer.

Question 7 (Question id: q_SFH829):
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: "it"

Question 8 (Question id: q_dUTG):
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: "us"

Question 9 (Question id: q_6JWDWDsN):
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: "has"

Question 10 (Question id: q_vcpWVeqP):
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 shrimps, 3 dogs, 4 giraffes, 4 bees, 4 flatworms?
 Respond with an integer.

Question 11 (Question id: q_KpZDKY):
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 wasps, 3 tigers, 4 bees, 2 lions?
 Respond with an integer.

Question 12 (Question id: q_QPlRl):
How many times does the letter "h" appear in the text: "to the"? Respond with an integer.



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.
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, also add the field 'half_answer' to the object which contains the answer integer divided by two.
If the response to a question is a string, add a 'first_char' field containing its first character.
If the question asks for the last character of a string, add an 'original_string' field containing the source string.

Beyond the question-id fields, add a 'global_metadata' object with summary information:
Include 'num_questions_asked' to record the total number of questions presented.

Now provide the result JSON using the described format.

{"ground_truth": {"q_CGJoS": {"answer": 84, "answer_type": "integer", "half_answer": 42}, "q_c7wXFy": {"answer": 8, "answer_type": "integer", "half_answer": 4}, "q_rlVxc": {"answer": 4, "answer_type": "integer", "half_answer": 2}, "q_2p8RJN": {"answer": 2, "answer_type": "integer", "half_answer": 1}, "q_n9Chd": {"answer": 2, "answer_type": "integer", "half_answer": 1}, "q_KzLgoWZW": {"answer": 1, "answer_type": "integer"}, "q_5yCWSZ": {"answer": 44, "answer_type": "integer", "half_answer": 22}, "q_SFH829": {"answer": "t", "answer_type": "string", "first_char": "t", "original_string": "it"}, "q_dUTG": {"answer": "s", "answer_type": "string", "first_char": "s", "original_string": "us"}, "q_6JWDWDsN": {"answer": "s", "answer_type": "string", "first_char": "s", "original_string": "has"}, "q_vcpWVeqP": {"answer": 82, "answer_type": "integer", "half_answer": 41}, "q_KpZDKY": {"answer": 68, "answer_type": "integer", "half_answer": 34}, "q_QPlRl": {"answer": 1, "answer_type": "integer"}, "global_metadata": {"num_questions_asked": 13}}}