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_QkJZ):
Calculate -6 * -4 + -1.

Question 1 (Question id: q_VIHWDhps):
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 woodlouse, 3 crickets, 3 cats, 2 insects, 2 leechs?
 Respond with an integer.

Question 2 (Question id: q_A3zKP6):
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 wasps, 4 sheeps, 4 butterflys?
 Respond with an integer.

Question 3 (Question id: q_r2mb8t):
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 4 (Question id: q_9ykL):
Find the value of r in the equation: 80*r + 272 = 1552 Respond with an integer.



Produce a JSON object whose top-level keys are the question ids.

Each key’s value must be an object holding an 'answer' field.
Also add the answer type as 'string' or 'integer' to the field 'answer_type' for each 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.

Now provide the result JSON using the described format.

{"ground_truth": {"q_QkJZ": {"answer": 23, "answer_type": "integer"}, "q_VIHWDhps": {"answer": 56, "answer_type": "integer", "half_answer": 28}, "q_A3zKP6": {"answer": 58, "answer_type": "integer", "half_answer": 29}, "q_r2mb8t": {"answer": "y", "answer_type": "string"}, "q_9ykL": {"answer": 16, "answer_type": "integer", "half_answer": 8}}}