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_pi5sV):
Calculate ( ( 7 - 4 / 4 ) ).

Question 1 (Question id: q_hWIG8):
How many times does the letter "y" appear in the text: "already past photographs"? Respond with an integer.

Question 2 (Question id: q_cocgU9):
Calculate -7 - -8.

Question 3 (Question id: q_yz6lg0):
Find the value of a in the equation: 20*a - 15 = 225 Respond with an integer.

Question 4 (Question id: q_3FtQ27Q):
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 spiders, 4 beetles, 2 ants, 4 sheeps?
 Respond with an integer.



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

Each key’s value must be an object holding an 'answer' field.
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.
For last-character tasks, provide 'original_string' alongside the answer.

Beyond the question-id fields, add a 'global_metadata' object with summary information:
• num_questions_asked: how many questions were asked in total.

Now provide the result JSON using the described format.

{"ground_truth": {"q_yz6lg0": {"answer": 12, "half_answer": 6}, "q_hWIG8": {"answer": 1}, "q_cocgU9": {"answer": 1}, "q_3FtQ27Q": {"answer": 84, "half_answer": 42}, "global_metadata": {"num_questions_asked": 5}}}