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_xmQ0LtV):
Solve for k: 3*k + 6 = 60 Respond with an integer.

Question 1 (Question id: q_hYSa):
How many times does the letter "a" appear in the text: "SUCH DAMAGE"? Respond with an integer.

Question 2 (Question id: q_erwPfdhe):
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 snakes, 3 beetles, 4 crickets?
 Respond with an integer.



Your output must be a JSON mapping every question id to its answer info.

For every question id, supply an object whose 'answer' field stores the solution.
Include an 'answer_type' field (value 'string' or 'integer') for every answer object.
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.
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.
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_xmQ0LtV": {"answer": 18, "answer_type": "integer", "half_answer": 9}, "q_hYSa": {"answer": 2, "answer_type": "integer", "half_answer": 1}, "q_erwPfdhe": {"answer": 42, "answer_type": "integer", "half_answer": 21, "animal_types": ["beetle", "cricket", "snake"]}}}