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_gjgua):
Solve for q: -6*q - 12 = -108 Respond with an integer.

Question 1 (Question id: q_gMjJ5G):
Solve for i: 22 - 14*i = -258 Respond with an integer.

Question 2 (Question id: q_jGUJtm):
How many times does the letter "o" appear in the text: "restrictions whatsoever"? Respond with an integer.

Question 3 (Question id: q_xmhdbWH):
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 wasps, 3 lobsters, 1 shrimp, 3 insects?
 Respond with an integer.



Return a JSON with each question id as a key.

Each key’s value must be an object holding an 'answer' field. Additionally, if the task is about counting legs of animals or counting letters in a string, add the task_type field with value 'leg_counting' or 'letter_counting', respectively.
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_gjgua": {"answer": 16, "additional_answer_info": {"half_answer": 8, "double_answer": 32}}, "q_gMjJ5G": {"answer": 20, "additional_answer_info": {"half_answer": 10, "double_answer": 40}}, "q_jGUJtm": {"answer": 2, "task_type": "letter_counting", "additional_answer_info": {"half_answer": 1, "double_answer": 4}}, "q_xmhdbWH": {"answer": 76, "task_type": "leg_counting", "additional_answer_info": {"half_answer": 38, "double_answer": 152}}}}