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_OyAl0M):
Find the value of w in the equation: 15*w + 14 = 209 Respond with an integer.

Question 1 (Question id: q_qoNB):
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 2 giraffes, 2 lobsters, 3 leechs?
 Respond with an integer.

Question 2 (Question id: q_HI4aoY5Z):
Solve for n: 35 - 18*n = 17 Respond with an integer.

Question 3 (Question id: q_LyChjfW):
Solve for m: -30*m - 2 = -542 Respond with an integer.

Question 4 (Question id: q_WXoKncrN):
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 bird, 2 beetles, 4 butterflys, 3 starfishs, 1 horse?
 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.
For even integer answers, include 'half_answer' equal to answer ÷ 2.
If the response to a question is a string, add a 'first_char' field containing its first character.
For last-character tasks, provide 'original_string' alongside the answer.
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_OyAl0M": {"answer": 13}, "q_qoNB": {"answer": 28, "half_answer": 14, "animal_types": ["giraffe", "leech", "lobster"]}, "q_HI4aoY5Z": {"answer": 1}, "q_LyChjfW": {"answer": 18, "half_answer": 9}, "q_WXoKncrN": {"answer": 57, "animal_types": ["beetle", "bird", "butterfly", "horse", "starfish"]}}}