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_78xP):
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 praying mantiss, 1 chicken, 2 dogs, 2 insects, 3 spiders?
 Respond with an integer.

Question 1 (Question id: q_lzfp):
Find the value of r in the equation: 80*r + 272 = 1552 Respond with an integer.

Question 2 (Question id: q_lzfp):
Find the value of r in the equation: 80*r + 272 = 1552 Respond with an integer.

Question 3 (Question id: q_C2k2i):
Calculate 7 - 3 / 1.



Produce a JSON object whose top-level keys are the question ids.

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.
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).
For last-character tasks, provide 'original_string' alongside the answer.
For animal-leg questions, add 'animal_types': an alphabetically-sorted list of unique animal names in singular form.

Now provide the result JSON using the described format.

{"ground_truth": {"q_78xP": {"answer": 70, "answer_type": "integer", "additional_answer_info": {"half_answer": 35, "double_answer": 140}, "animal_types": ["chicken", "dog", "insect", "praying mantis", "spider"]}, "q_lzfp": {"answer": 16, "answer_type": "integer", "additional_answer_info": {"half_answer": 8, "double_answer": 32}}, "q_C2k2i": {"answer": 4, "answer_type": "integer", "additional_answer_info": {"half_answer": 2, "double_answer": 8}}}}