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_oahOkDm):
Solve for r: 6 - 4*r = -74 Respond with an integer.

Question 1 (Question id: q_I7oeyFV):
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 cockroach, 3 sheeps, 2 ducks, 1 giraffe?
 Respond with an integer.

Question 2 (Question id: q_P8Boe):
Calculate 8 * 5.

Question 3 (Question id: q_YVNrJTTE):
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 birds, 3 cows, 4 wasps, 1 scorpion?
 Respond with an integer.



Return a JSON with each question id (except for q_YVNrJTTE) as a key.

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.

Now provide the result JSON using the described format.

{"ground_truth": {"q_P8Boe": {"answer": 40, "answer_type": "integer", "half_answer": 20}, "q_oahOkDm": {"answer": 20, "answer_type": "integer", "half_answer": 10}, "q_I7oeyFV": {"answer": 26, "answer_type": "integer", "half_answer": 13}}}