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_XN77L):
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, 4 woodlouses, 1 bee, 3 butterflys, 2 cows?
 Respond with an integer.

Question 1 (Question id: q_zVQs):
How many times does the letter "h" appear in the text: "same lucky hit"? Respond with an integer.

Question 2 (Question id: q_ED7owa):
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 1 snake, 3 lions, 1 cricket, 4 grasshoppers, 4 tigers?
 Respond with an integer.



Return a JSON with each question id as a key.

For every question id, supply an object whose 'answer' field stores the solution.
For even integer answers, include 'half_answer' equal to answer ÷ 2.
For string answers, include 'first_char' with the answer’s initial letter.
For last-character tasks, provide 'original_string' alongside the answer.
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_XN77L": {"answer": 100, "half_answer": 50, "animal_types": ["bee", "butterfly", "cow", "sheep", "woodlouse"]}, "q_zVQs": {"answer": 1}, "q_ED7owa": {"answer": 58, "half_answer": 29, "animal_types": ["cricket", "grasshopper", "lion", "snake", "tiger"]}}}