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_157I8RN5):
Determine the value of w that satisfies: 13 - 17*w = -259 Respond with an integer.

Question 1 (Question id: q_RlQu9):
Your job is to return the last character of a string as a string. For example, the last char of "hello" is "o". Return the last character of the following string: "biology"

Question 2 (Question id: q_O32eY):
How many times does the letter "e" appear in the text: "799 642 miles"? Respond with an integer.

Question 3 (Question id: q_B0frEBf):
Calculate 4 + 2 - 3.

Question 4 (Question id: q_KbSMgKv):
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, 3 crickets, 4 crabs, 3 leechs, 2 birds?
 Respond with an integer.

Question 5 (Question id: q_ppUIOnr8):
Calculate 5 / 1.

Question 6 (Question id: q_Z0qcBYSM):
Find the value of o in the equation: 4*o + 110 = 170 Respond with an integer.

Question 7 (Question id: q_zkFSsQZ):
How many times does the letter "h" appear in the text: "English will ever"? Respond with an integer.



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. If a question involves animal-leg or letter counting, include 'task_type' set to 'leg_counting' or 'letter_counting'.
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.

Now provide the result JSON using the described format.

{"ground_truth": {"q_157I8RN5": {"answer": 16, "half_answer": 8}, "q_RlQu9": {"answer": "y"}, "q_O32eY": {"answer": 1, "task_type": "letter_counting"}, "q_B0frEBf": {"answer": 3}, "q_KbSMgKv": {"answer": 80, "task_type": "leg_counting", "half_answer": 40}, "q_ppUIOnr8": {"answer": 5}, "q_Z0qcBYSM": {"answer": 15}, "q_zkFSsQZ": {"answer": 1, "task_type": "letter_counting"}}}