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_jeyD):
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 leechs, 1 jellyfish, 1 wasp, 1 horse, 2 beetles?
 Respond with an integer.

Question 1 (Question id: q_WTsWg3S):
Calculate 8 / 2.

Question 2 (Question id: q_tBWUSmC):
How many times does the letter "p" appear in the text: "professional beauty has"? Respond with an integer.



Create a JSON object keyed by every question id except q_tBWUSmC.

The value for each key should be an object that contains the answer in the field 'answer'.
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.

Now provide the result JSON using the described format.

{"ground_truth": {"q_WTsWg3S": {"answer": 4, "half_answer": 2}, "q_jeyD": {"answer": 22, "half_answer": 11}}}