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_n6AIgUGp):
Find the value of y in the equation: -12*y - 3 = -51 Respond with an integer.

Question 1 (Question id: q_lxwv):
Your job is to return the last character of a string as a string. For example, the last char of "hello" is "o". Return the last character of the following string: "enough"

Question 2 (Question id: q_WVSBAW):
How many times does the letter "y" appear in the text: "Foundation and you"? Respond with an integer.

Question 3 (Question id: q_zrqex7P):
Find the value of d in the equation: -2*d - 16 = -34 Respond with an integer.

Question 4 (Question id: q_vvqB):
Solve for k: 8*k + 76 = 204 Respond with an integer.

Question 5 (Question id: q_5qJY4GN):
How many times does the letter "c" appear in the text: "work can"? Respond with an integer.

Question 6 (Question id: q_khKqjX):
Find the value of f in the equation: f - 13 = -3 Respond with an integer.



Output JSON where all question ids are keys, omitting q_vvqB, q_khKqjX.

Each key’s value must be an object holding an 'answer' field. If a question involves animal-leg or letter counting, include 'task_type' set to 'leg_counting' or 'letter_counting'.
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 string answers, include 'first_char' with the answer’s initial letter.
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_n6AIgUGp": {"answer": 4, "half_answer": 2}, "q_zrqex7P": {"answer": 9}, "q_WVSBAW": {"answer": 1, "task_type": "letter_counting"}, "q_lxwv": {"answer": "h", "first_char": "h", "original_string": "enough"}, "q_5qJY4GN": {"answer": 1, "task_type": "letter_counting"}, "global_metadata": {"num_questions_asked": 7}}}