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_6t8pmUb):
Calculate 6 + 6 - -4.

Question 1 (Question id: q_OiqXBJPE):
Determine the value of a that satisfies: 8*a + 25 = 105 Respond with an integer.

Question 2 (Question id: q_fXPKkWv5):
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, 1 horse, 4 ants, 2 ducks?
 Respond with an integer.

Question 3 (Question id: q_Deap):
Solve for k: 30*k = 300 Respond with an integer.



Create a JSON object keyed by every question id except q_fXPKkWv5.

Each key’s value must be an object holding an 'answer' field.
Include an 'answer_type' field (value 'string' or 'integer') for every answer object.
For even integers, nest 'half_answer' and 'double_answer' inside an additional 'additional_answer_info' field in the answer object.
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:
'num_questions_asked' should equal the total questions that appeared.

Now provide the result JSON using the described format.

{"ground_truth": {"q_OiqXBJPE": {"answer": 10, "answer_type": "integer", "additional_answer_info": {"half_answer": 5, "double_answer": 20}}, "q_Deap": {"answer": 10, "answer_type": "integer", "additional_answer_info": {"half_answer": 5, "double_answer": 20}}, "q_6t8pmUb": {"answer": 16, "answer_type": "integer", "additional_answer_info": {"half_answer": 8, "double_answer": 32}}, "global_metadata": {"num_questions_asked": 4}}}