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_OCRdk):
Calculate ( 6 + -8 / 4 ).

Question 1 (Question id: q_sjPva):
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 dogs, 3 lobsters, 4 snakes, 2 ants?
 Respond with an integer.



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

Each key’s value must be an object holding an 'answer' field.
Include an 'answer_type' field (value 'string' or 'integer') for every answer object.
For even integer answers, include 'half_answer' equal to answer ÷ 2.
For string answers, include 'first_char' with the answer’s initial letter.
If the question asks for the last character of a string, add an 'original_string' field containing the source string.
When counting animal legs, include an 'animal_types' list of the distinct animal names (singular, sorted).

Add a top-level 'global_metadata' field that records overall stats:
• num_questions_asked: how many questions were asked in total.
'num_questions_answered' must hold the number of answered questions.

Now provide the result JSON using the described format.

{"ground_truth": {"q_OCRdk": {"answer": 4, "answer_type": "integer", "half_answer": 2}, "q_sjPva": {"answer": 54, "answer_type": "integer", "half_answer": 27, "animal_types": ["ant", "dog", "lobster", "snake"]}, "global_metadata": {"num_questions_asked": 2, "num_questions_answered": 2}}}