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_hEQ6hO):
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 elephants, 4 scorpions, 2 cows, 2 cats, 4 birds?
 Respond with an integer.

Question 1 (Question id: q_s2BXML):
Solve for m: -30*m - 2 = -542 Respond with an integer.

Question 2 (Question id: q_fqrBCj):
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 bird, 2 dogs, 3 jellyfishs?
 Respond with an integer.

Question 3 (Question id: q_Mt8MgV):
How many times does the letter "n" appear in the text: "they are numberless"? Respond with an integer.

Question 4 (Question id: q_BRLX7):
Calculate -7 * 0 + 0.

Question 5 (Question id: q_KVXc):
How many times does the letter "t" appear in the text: "meantime men"? Respond with an integer.

Question 6 (Question id: q_H0KMu):
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 starfishs, 1 beetle, 2 grasshoppers?
 Respond with an integer.

Question 7 (Question id: q_SBrT):
How many times does the letter "r" appear in the text: "to Centropolis"? Respond with an integer.

Question 8 (Question id: q_ttwX1H):
Find the value of g in the equation: 6 - 11*g = -71 Respond with an integer.

Question 9 (Question id: q_XJXeLl):
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 woodlouses, 3 ducks, 2 giraffes, 4 fireflys?
 Respond with an integer.

Question 10 (Question id: q_EH6t):
Find the value of j in the equation: 7*j + 14 = 98 Respond with an integer.



Your output must be a JSON mapping every question id to its answer info.

For every question id, supply an object whose 'answer' field stores the solution.
For even integer answers, include 'half_answer' equal to answer ÷ 2.
If the response to a question is a string, add a 'first_char' field containing its first character.
If the question asks for the last character of a string, add an 'original_string' field containing the source string.

Add a top-level 'global_metadata' field that records overall stats:
Set 'num_questions_asked' to the count of questions originally displayed.
• questions_with_integer_answers: ids of questions with integer replies.

Now provide the result JSON using the described format.

{"ground_truth": {"q_hEQ6hO": {"answer": 72, "half_answer": 36}, "q_s2BXML": {"answer": 18, "half_answer": 9}, "q_fqrBCj": {"answer": 10, "half_answer": 5}, "q_Mt8MgV": {"answer": 1}, "q_BRLX7": {"answer": 0, "half_answer": 0}, "q_KVXc": {"answer": 1}, "q_H0KMu": {"answer": 38, "half_answer": 19}, "q_SBrT": {"answer": 1}, "q_ttwX1H": {"answer": 7}, "q_XJXeLl": {"answer": 94, "half_answer": 47}, "q_EH6t": {"answer": 12, "half_answer": 6}, "global_metadata": {"num_questions_asked": 11, "questions_with_integer_answers": ["q_hEQ6hO", "q_s2BXML", "q_fqrBCj", "q_Mt8MgV", "q_BRLX7", "q_KVXc", "q_H0KMu", "q_SBrT", "q_ttwX1H", "q_XJXeLl", "q_EH6t"]}}}