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_Va2qlFR):
Calculate -3 + -3 + 7.

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

Question 2 (Question id: q_Ubd8Qrr):
Calculate 7 + -4 - 1.

Question 3 (Question id: q_epdBRG):
How many times does the letter "n" appear in the text: "Do not"? Respond with an integer.

Question 4 (Question id: q_CkzRA):
Determine the value of g that satisfies: 11*g + 17 = 39 Respond with an integer.

Question 5 (Question id: q_ZZYpdc):
Find the value of y in the equation: 21*y + 2 = 296 Respond with an integer.

Question 6 (Question id: q_SQStljgL):
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 ant, 3 snakes, 4 leechs?
 Respond with an integer.



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

Each key’s value must be an object holding an 'answer' field. If a question involves animal-leg or letter counting, include 'task_type' set to 'leg_counting' or 'letter_counting'.
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.

Now provide the result JSON using the described format.

{"ground_truth": {"q_Va2qlFR": {"answer": 1}, "q_ZZYpdc": {"answer": 14, "additional_answer_info": {"half_answer": 7, "double_answer": 28}}, "q_Ubd8Qrr": {"answer": 2, "additional_answer_info": {"half_answer": 1, "double_answer": 4}}, "q_CkzRA": {"answer": 2, "additional_answer_info": {"half_answer": 1, "double_answer": 4}}, "q_epdBRG": {"answer": 1, "task_type": "letter_counting"}, "q_mSSuZ": {"answer": 1, "task_type": "letter_counting"}}}