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_1GrJ):
Calculate ( 5 - -7 ).

Question 1 (Question id: q_Psr5H):
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 woodlouses, 2 fireflys, 4 butterflys, 3 ducks?
 Respond with an integer.

Question 2 (Question id: q_4DpJiT1):
Find the value of n in the equation: 11*n + 1 = 78 Respond with an integer.

Question 3 (Question id: q_Uep4w):
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 ants, 2 praying mantiss, 1 giraffe, 4 dogs?
 Respond with an integer.

Question 4 (Question id: q_Fkul):
Determine the value of q that satisfies: 18*q - 8 = 352 Respond with an integer.



Your output must be a JSON mapping every question id to its answer info.

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 integer answers, include 'half_answer' equal to answer ÷ 2.
If the question asks for the last character of a string, add an 'original_string' field containing the source string.
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_1GrJ": {"answer": 12, "answer_type": "integer", "half_answer": 6}, "q_Psr5H": {"answer": 98, "answer_type": "integer", "half_answer": 49, "animal_types": ["butterfly", "duck", "firefly", "woodlouse"]}, "q_4DpJiT1": {"answer": 7, "answer_type": "integer"}, "q_Uep4w": {"answer": 50, "answer_type": "integer", "half_answer": 25, "animal_types": ["ant", "dog", "giraffe", "praying mantis"]}, "q_Fkul": {"answer": 20, "answer_type": "integer", "half_answer": 10}}}