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_8OucPHD):
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 cockroachs, 2 lions, 4 jellyfishs, 1 elephant?
 Respond with an integer.

Question 1 (Question id: q_CMmPMgys):
How many times does the letter "k" appear in the text: "Wilkins arrived"? Respond with an integer.

Question 2 (Question id: q_J8cKzLWR):
How many times does the letter "o" appear in the text: "for notwithstanding the"? Respond with an integer.

Question 3 (Question id: q_IMQPjkwC):
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 shrimps, 3 wasps, 4 sea slugs, 2 dogs?
 Respond with an integer.

Question 4 (Question id: q_J61X):
Determine the value of g that satisfies: 6*g + 8 = 86 Respond with an integer.

Question 5 (Question id: q_aztJ):
How many times does the letter "m" appear in the text: "way You must"? Respond with an integer.

Question 6 (Question id: q_KeHt):
Calculate 3 + -7 + 8.

Question 7 (Question id: q_yjrtHKB):
Solve for p: 7 - 17*p = -299 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.
For even integers, nest 'half_answer' and 'double_answer' inside an additional 'additional_answer_info' field in the answer object.
For string answers, include 'first_char' with the answer’s initial letter.
When counting animal legs, include an 'animal_types' list of the distinct animal names (singular, sorted).

Now provide the result JSON using the described format.

{"ground_truth": {"q_8OucPHD": {"answer": 30, "answer_type": "integer", "additional_answer_info": {"half_answer": 15, "double_answer": 60}, "animal_types": ["cockroach", "elephant", "jellyfish", "lion"]}, "q_CMmPMgys": {"answer": 1, "answer_type": "integer"}, "q_J8cKzLWR": {"answer": 2, "answer_type": "integer", "additional_answer_info": {"half_answer": 1, "double_answer": 4}}, "q_IMQPjkwC": {"answer": 66, "answer_type": "integer", "additional_answer_info": {"half_answer": 33, "double_answer": 132}, "animal_types": ["dog", "sea slug", "shrimp", "wasp"]}, "q_J61X": {"answer": 13, "answer_type": "integer"}, "q_aztJ": {"answer": 1, "answer_type": "integer"}, "q_KeHt": {"answer": 4, "answer_type": "integer", "additional_answer_info": {"half_answer": 2, "double_answer": 8}}, "q_yjrtHKB": {"answer": 18, "answer_type": "integer", "additional_answer_info": {"half_answer": 9, "double_answer": 36}}}}