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_7X9Q71):
Determine the value of l that satisfies: 19*l + 31 = 50 Respond with an integer.

Question 1 (Question id: q_e6pMaJ):
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 jellyfishs, 2 starfishs, 3 crickets?
 Respond with an integer.

Question 2 (Question id: q_T6A7P):
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: "to"

Question 3 (Question id: q_dsYN):
Find the value of l in the equation: 168*l - 14 = 1498 Respond with an integer.

Question 4 (Question id: q_Xl6Ma):
Calculate -3 * 1 * -5.

Question 5 (Question id: q_4AMs5Gfs):
Calculate 0 * 5.

Question 6 (Question id: q_fHQD):
Calculate -1 + 4.

Question 7 (Question id: q_Tocg1k87):
Solve for l: 20*l - 25 = 135 Respond with an integer.

Question 8 (Question id: q_YRbkY7eG):
Solve for f: 19*f - 10 = 161 Respond with an integer.

Question 9 (Question id: q_rc5gm):
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: "ideas"

Question 10 (Question id: q_Tnwlr):
Determine the value of h that satisfies: 16*h + 15 = 79 Respond with an integer.

Question 11 (Question id: q_rEZK):
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: "can"



Create a JSON object keyed by every question id except q_Xl6Ma, q_rEZK, q_rc5gm, q_7X9Q71.

Each key’s value must be an object holding an 'answer' field. If a question involves animal-leg or letter counting, include 'task_type' set to 'leg_counting' or 'letter_counting'.
Include an 'answer_type' field (value 'string' or 'integer') for every answer object.
For even integer answers, include 'half_answer' equal to answer ÷ 2.

Beyond the question-id fields, add a 'global_metadata' object with summary information:
• num_questions_asked – total number of questions originally shown.
'questions_with_integer_answers' should enumerate every id whose answer is an integer.

Now provide the result JSON using the described format.

{"ground_truth": {"q_e6pMaJ": {"answer": 28, "task_type": "leg_counting", "answer_type": "integer", "half_answer": 14}, "q_4AMs5Gfs": {"answer": 0, "answer_type": "integer", "half_answer": 0}, "q_YRbkY7eG": {"answer": 9, "answer_type": "integer"}, "q_fHQD": {"answer": 3, "answer_type": "integer"}, "q_Tocg1k87": {"answer": 8, "answer_type": "integer", "half_answer": 4}, "q_dsYN": {"answer": 9, "answer_type": "integer"}, "q_T6A7P": {"answer": "o", "answer_type": "string"}, "q_Tnwlr": {"answer": 4, "answer_type": "integer", "half_answer": 2}, "global_metadata": {"num_questions_asked": 12, "questions_with_integer_answers": ["q_e6pMaJ", "q_4AMs5Gfs", "q_YRbkY7eG", "q_fHQD", "q_Tocg1k87", "q_dsYN", "q_Tnwlr"]}}}