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_KDLEsRL):
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 bird, 3 dogs, 4 chickens, 2 flatworms, 1 woodlouse?
 Respond with an integer.

Question 1 (Question id: q_LCwspa):
Determine the value of q that satisfies: 70*q + 1 = 211 Respond with an integer.

Question 2 (Question id: q_FU2sE):
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 cats, 4 ants, 2 butterflys, 2 cows?
 Respond with an integer.

Question 3 (Question id: q_PJKQ6fwB):
Calculate 6 / 2 + 2.

Question 4 (Question id: q_NfGCv5):
Calculate -1 + 9.

Question 5 (Question id: q_pNMJ5S):
Calculate ( 0 - -6 ).

Question 6 (Question id: q_rfMDYw):
How many times does the letter "h" appear in the text: "three remain"? Respond with an integer.

Question 7 (Question id: q_jjH2):
How many times does the letter "g" appear in the text: "of light"? Respond with an integer.

Question 8 (Question id: q_0Ix7hIp0):
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 ants, 2 bees, 1 cricket?
 Respond with an integer.

Question 9 (Question id: q_gxIsr):
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 cockroachs, 4 birds, 2 insects, 4 flatworms?
 Respond with an integer.

Question 10 (Question id: q_Tgg1YVNb):
Calculate -8 * -3.



Return a JSON with each question id as a key.

For every question id, supply an object whose 'answer' field stores the solution.
Also add the answer type as 'string' or 'integer' to the field 'answer_type' for each 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.
If the question asks for the last character of a string, add an 'original_string' field containing the source string.

Add a top-level 'global_metadata' field that records overall stats:
Include 'num_questions_asked' to record the total number of questions presented.
'num_questions_answered' must hold the number of answered questions.
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_KDLEsRL": {"answer": 36, "answer_type": "integer", "additional_answer_info": {"half_answer": 18, "double_answer": 72}}, "q_LCwspa": {"answer": 3, "answer_type": "integer"}, "q_FU2sE": {"answer": 56, "answer_type": "integer", "additional_answer_info": {"half_answer": 28, "double_answer": 112}}, "q_PJKQ6fwB": {"answer": 5, "answer_type": "integer"}, "q_NfGCv5": {"answer": 8, "answer_type": "integer", "additional_answer_info": {"half_answer": 4, "double_answer": 16}}, "q_pNMJ5S": {"answer": 6, "answer_type": "integer", "additional_answer_info": {"half_answer": 3, "double_answer": 12}}, "q_rfMDYw": {"answer": 1, "answer_type": "integer"}, "q_jjH2": {"answer": 1, "answer_type": "integer"}, "q_0Ix7hIp0": {"answer": 36, "answer_type": "integer", "additional_answer_info": {"half_answer": 18, "double_answer": 72}}, "q_gxIsr": {"answer": 32, "answer_type": "integer", "additional_answer_info": {"half_answer": 16, "double_answer": 64}}, "q_Tgg1YVNb": {"answer": 24, "answer_type": "integer", "additional_answer_info": {"half_answer": 12, "double_answer": 48}}, "global_metadata": {"num_questions_asked": 11, "num_questions_answered": 11, "questions_with_integer_answers": ["q_KDLEsRL", "q_LCwspa", "q_FU2sE", "q_PJKQ6fwB", "q_NfGCv5", "q_pNMJ5S", "q_rfMDYw", "q_jjH2", "q_0Ix7hIp0", "q_gxIsr", "q_Tgg1YVNb"]}}}