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_2bRm):
Find the value of m in the equation: 9*m + 11 = 20 Respond with an integer.

Question 1 (Question id: q_jm4k):
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 dogs, 3 crabs, 2 cockroachs?
 Respond with an integer.

Question 2 (Question id: q_e5w0uK):
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 snake, 3 wasps, 1 deer?
 Respond with an integer.

Question 3 (Question id: q_8H5yJL):
How many times does the letter "r" appear in the text: "provided that"? Respond with an integer.



Return a JSON with each question id as a key.

For every question id, supply an object whose 'answer' field stores the solution. Additionally, if the task is about counting legs of animals or counting letters in a string, add the task_type field with value 'leg_counting' or 'letter_counting', respectively.
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, add the field 'additional_answer_info' containing 'half_answer' (answer ÷ 2) and 'double_answer' (answer × 2).
If the question asks for the last character of a string, add an 'original_string' field containing the source string.
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_2bRm": {"answer": 1, "answer_type": "integer"}, "q_jm4k": {"answer": 68, "task_type": "leg_counting", "answer_type": "integer", "additional_answer_info": {"half_answer": 34, "double_answer": 136}, "animal_types": ["cockroach", "crab", "dog", "woodlouse"]}, "q_e5w0uK": {"answer": 22, "task_type": "leg_counting", "answer_type": "integer", "additional_answer_info": {"half_answer": 11, "double_answer": 44}, "animal_types": ["deer", "snake", "wasp"]}, "q_8H5yJL": {"answer": 1, "task_type": "letter_counting", "answer_type": "integer"}}}