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_KAC4hZ):
How many times does the letter "a" appear in the text: "morning a"? Respond with an integer.

Question 1 (Question id: q_KpEBi):
Solve for r: 30 - 4*r = -10 Respond with an integer.

Question 2 (Question id: q_BiyF6):
Calculate 7 + 4 + 3.

Question 3 (Question id: q_bLy3ff):
Calculate 5 + 6.

Question 4 (Question id: q_a6AwrSw):
Find the value of v in the equation: 17*v + 4 = 55 Respond with an integer.

Question 5 (Question id: q_pNY2bf):
Calculate ( 2 / 2 ).

Question 6 (Question id: q_gjH1h0f):
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: "the"

Question 7 (Question id: q_zepn):
How many times does the letter "r" appear in the text: "will support the"? Respond with an integer.

Question 8 (Question id: q_hdKbbb):
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 elephant, 3 ducks, 1 dog?
 Respond with an integer.

Question 9 (Question id: q_plZuxzS):
Calculate 6 * 5.

Question 10 (Question id: q_QsfF):
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 praying mantiss, 2 snakes, 1 deer, 1 ant, 2 cows?
 Respond with an integer.

Question 11 (Question id: q_5iyRs):
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: "organisms"



Create a JSON object keyed by every question id except q_hdKbbb, q_KpEBi, q_pNY2bf, q_plZuxzS.

For every question id, supply an object whose 'answer' field stores the solution.
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).
For last-character tasks, provide 'original_string' alongside the answer.

Now provide the result JSON using the described format.

{"ground_truth": {"q_gjH1h0f": {"answer": "e", "original_string": "the"}, "q_a6AwrSw": {"answer": 3}, "q_QsfF": {"answer": 36, "additional_answer_info": {"half_answer": 18, "double_answer": 72}}, "q_zepn": {"answer": 1}, "q_bLy3ff": {"answer": 11}, "q_5iyRs": {"answer": "s", "original_string": "organisms"}, "q_KAC4hZ": {"answer": 1}, "q_BiyF6": {"answer": 14, "additional_answer_info": {"half_answer": 7, "double_answer": 28}}}}