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_s5hM):
Calculate 5 + 0 * 0.

Question 1 (Question id: q_EQ8yVjvb):
Calculate 6 * 2.

Question 2 (Question id: q_vW6QHnpt):
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 sheeps, 1 praying mantis, 3 scorpions, 3 elephants?
 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.
If the response to a question is an integer that is even, also add the field 'half_answer' to the object which contains the answer integer divided by two.
For string answers, include 'first_char' with the answer’s initial letter.
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_s5hM": {"answer": 5}, "q_EQ8yVjvb": {"answer": 12, "half_answer": 6}, "q_vW6QHnpt": {"answer": 54, "half_answer": 27, "animal_types": ["elephant", "praying mantis", "scorpion", "sheep"]}}}