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_LWn0TzUX):
Solve for r: 11*r + 187 = 319 Respond with an integer.

Question 1 (Question id: q_JkwL1):
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 wasps, 3 lobsters, 1 shrimp, 3 insects?
 Respond with an integer.

Question 2 (Question id: q_k53FOF7):
Calculate -7 - -9 * 2.



Create a JSON object keyed by every question id except q_LWn0TzUX.

For every question id, supply an object whose 'answer' field stores the solution.
For even integer answers, include 'half_answer' equal to answer ÷ 2.
For string answers, include 'first_char' with the answer’s initial letter.

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 – list of question ids whose answers are integers (empty list if none).

Now provide the result JSON using the described format.

{"ground_truth": {"q_JkwL1": {"answer": 76, "half_answer": 38}, "q_k53FOF7": {"answer": 11}, "global_metadata": {"num_questions_asked": 3, "questions_with_integer_answers": ["q_JkwL1", "q_k53FOF7"]}}}