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_p6Kh):
Determine the value of y that satisfies: 342*y - 4 = 2732 Respond with an integer.

Question 1 (Question id: q_vilSEB):
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 flatworm, 3 shrimps, 3 sea slugs?
 Respond with an integer.

Question 2 (Question id: q_WqalbGj):
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 2 starfishs, 1 deer, 1 lion, 3 praying mantiss?
 Respond with an integer.

Question 3 (Question id: q_668nW):
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 butterfly, 2 crabs, 4 chickens, 1 grasshopper, 1 leech?
 Respond with an integer.



Return a JSON with each question id (except for q_668nW) as a key.

For every question id, supply an object whose 'answer' field stores the solution.
Also add the answer type as 'string' or 'integer' to the field 'answer_type' for each object.
If the response to a question is an integer that is even, also add the field 'half_answer' to the object which contains the answer integer divided by two.
If the response to a question is a string, add a 'first_char' field containing its first character.

Beyond the question-id fields, add a 'global_metadata' object with summary information:
• num_questions_asked – total number of questions originally shown.

Now provide the result JSON using the described format.

{"ground_truth": {"q_WqalbGj": {"answer": 36, "answer_type": "integer", "half_answer": 18}, "q_p6Kh": {"answer": 8, "answer_type": "integer", "half_answer": 4}, "q_vilSEB": {"answer": 30, "answer_type": "integer", "half_answer": 15}, "global_metadata": {"num_questions_asked": 4}}}