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_Yh9vCY):
Find the value of i in the equation: 8 - 19*i = -30 Respond with an integer.

Question 1 (Question id: q_0UZd0cgi):
How many times does the letter "w" appear in the text: "electronic works"? Respond with an integer.

Question 2 (Question id: q_9yPA):
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: "in"

Question 3 (Question id: q_AsS61):
Determine the value of x that satisfies: 6*x + 23 = 107 Respond with an integer.

Question 4 (Question id: q_gpZaGG):
How many times does the letter "o" appear in the text: "Donations to"? Respond with an integer.

Question 5 (Question id: q_9gdG1HXj):
How many times does the letter "i" appear in the text: "Smith turning"? Respond with an integer.

Question 6 (Question id: q_DuKH):
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 chickens, 4 humans, 2 horses, 3 birds?
 Respond with an integer.

Question 7 (Question id: q_H6wrzhac):
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 giraffe, 3 fireflys, 3 praying mantiss, 3 sheeps?
 Respond with an integer.

Question 8 (Question id: q_UfCh):
Calculate 5 + 9 - 3.

Question 9 (Question id: q_54fhHQ):
How many times does the letter "f" appear in the text: "to himself"? Respond with an integer.

Question 10 (Question id: q_0oVlLMH):
How many times does the letter "d" appear in the text: "attends to"? Respond with an integer.

Question 11 (Question id: q_7WJGm):
Calculate 0 * 4 + 5.

Question 12 (Question id: q_gfxHF):
Calculate ( 8 * 7 ) / 2.

Question 13 (Question id: q_YPlAmvM):
Calculate 0 + 4 - 0.



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

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.
For even integers, nest 'half_answer' and 'double_answer' inside an additional 'additional_answer_info' field in the answer object.
For string answers, include 'first_char' with the answer’s initial letter.
For last-character tasks, provide 'original_string' alongside the answer.

Add a top-level 'global_metadata' field that records overall stats:
• num_questions_asked: how many questions were asked in total.

Now provide the result JSON using the described format.

{"ground_truth": {"q_Yh9vCY": {"answer": 2, "answer_type": "integer", "additional_answer_info": {"half_answer": 1, "double_answer": 4}}, "q_0UZd0cgi": {"answer": 1, "answer_type": "integer"}, "q_9yPA": {"answer": "n", "answer_type": "string", "first_char": "n", "original_string": "in"}, "q_AsS61": {"answer": 14, "answer_type": "integer", "additional_answer_info": {"half_answer": 7, "double_answer": 28}}, "q_gpZaGG": {"answer": 3, "answer_type": "integer"}, "q_9gdG1HXj": {"answer": 2, "answer_type": "integer", "additional_answer_info": {"half_answer": 1, "double_answer": 4}}, "q_DuKH": {"answer": 26, "answer_type": "integer", "additional_answer_info": {"half_answer": 13, "double_answer": 52}}, "q_H6wrzhac": {"answer": 52, "answer_type": "integer", "additional_answer_info": {"half_answer": 26, "double_answer": 104}}, "q_UfCh": {"answer": 11, "answer_type": "integer"}, "q_54fhHQ": {"answer": 1, "answer_type": "integer"}, "q_0oVlLMH": {"answer": 1, "answer_type": "integer"}, "q_7WJGm": {"answer": 5, "answer_type": "integer"}, "q_gfxHF": {"answer": 28, "answer_type": "integer", "additional_answer_info": {"half_answer": 14, "double_answer": 56}}, "q_YPlAmvM": {"answer": 4, "answer_type": "integer", "additional_answer_info": {"half_answer": 2, "double_answer": 8}}, "global_metadata": {"num_questions_asked": 14}}}