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_2PmOd):
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 wasp, 3 starfishs, 3 cockroachs, 2 bees, 3 ducks?
 Respond with an integer.

Question 1 (Question id: q_kIbKiTp):
How many times does the letter "d" appear in the text: "Literary Archive Foundation"? Respond with an integer.

Question 2 (Question id: q_4eUo):
Solve for b: -19*b - 27 = -274 Respond with an integer.

Question 3 (Question id: q_RsqiCv):
How many times does the letter "e" appear in the text: "And there"? Respond with an integer.

Question 4 (Question id: q_KL9QDis):
Find the value of o in the equation: 31 - o = 22 Respond with an integer.

Question 5 (Question id: q_MW5PYjUD):
Determine the value of k that satisfies: 6*k + 11 = 107 Respond with an integer.

Question 6 (Question id: q_5pYKWb3H):
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: "and"

Question 7 (Question id: q_MFPTBKj):
Calculate 4 + 4.

Question 8 (Question id: q_T5xiRv):
How many times does the letter "b" appear in the text: "library of"? Respond with an integer.

Question 9 (Question id: q_d1Rsr):
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 spiders, 3 giraffes, 3 butterflys, 4 beetles, 1 chicken?
 Respond with an integer.

Question 10 (Question id: q_jyn0bVJy):
How many times does the letter "y" appear in the text: "way with"? Respond with an integer.

Question 11 (Question id: q_h0AzN6):
How many times does the letter "r" appear in the text: "other medium a"? Respond with an integer.

Question 12 (Question id: q_zDsFG):
Calculate ( 6 - 4 ).



Create a JSON object keyed by every question id except q_kIbKiTp, q_T5xiRv, q_d1Rsr.

For every question id, supply an object whose 'answer' field stores the solution.
For even integers, nest 'half_answer' and 'double_answer' inside an additional 'additional_answer_info' field in the answer object.
For last-character tasks, provide 'original_string' alongside the answer.

Now provide the result JSON using the described format.

{"ground_truth": {"q_zDsFG": {"answer": 2, "additional_answer_info": {"half_answer": 1, "double_answer": 4}}, "q_RsqiCv": {"answer": 2, "additional_answer_info": {"half_answer": 1, "double_answer": 4}}, "q_KL9QDis": {"answer": 9}, "q_5pYKWb3H": {"answer": "d", "original_string": "and"}, "q_2PmOd": {"answer": 57}, "q_jyn0bVJy": {"answer": 1}, "q_MFPTBKj": {"answer": 8, "additional_answer_info": {"half_answer": 4, "double_answer": 16}}, "q_4eUo": {"answer": 13}, "q_h0AzN6": {"answer": 1}, "q_MW5PYjUD": {"answer": 16, "additional_answer_info": {"half_answer": 8, "double_answer": 32}}}}