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_tIP8k):
Solve for k: 30*k = 300 Respond with an integer.

Question 1 (Question id: q_ZRQ4U8I):
Solve for m: -19*m = -380 Respond with an integer.

Question 2 (Question id: q_SlcHv):
Determine the value of i that satisfies: 4*i - 1 = 47 Respond with an integer.

Question 3 (Question id: q_NBLOcmbj):
How many times does the letter "e" appear in the text: "protected by"? Respond with an integer.

Question 4 (Question id: q_1PK6):
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: "away"

Question 5 (Question id: q_uoq7):
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: "some"

Question 6 (Question id: q_Ga4uE):
Calculate 5 - 1 * 0.

Question 7 (Question id: q_MITJvpY):
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 starfish, 3 crabs, 4 sheeps?
 Respond with an integer.

Question 8 (Question id: q_U88j9tD6):
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: "many"

Question 9 (Question id: q_z2I8L):
How many times does the letter "s" appear in the text: "With this"? Respond with an integer.

Question 10 (Question id: q_qMYvqR6):
Determine the value of n that satisfies: 8 - 18*n = -172 Respond with an integer.

Question 11 (Question id: q_FiOuO):
Solve for m: 20 - 9*m = -70 Respond with an integer.

Question 12 (Question id: q_BV1JhSo):
How many times does the letter "a" appear in the text: "Although published under"? Respond with an integer.

Question 13 (Question id: q_TywL35gs):
Solve for d: 378*d = 7560 Respond with an integer.



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

The value for each key should be an object that contains the answer in the field 'answer'.
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 question asks for the last character of a string, add an 'original_string' field containing the source string.

Add a top-level 'global_metadata' field that records overall stats:
Include 'num_questions_asked' to record the total number of questions presented.

Now provide the result JSON using the described format.

{"ground_truth": {"q_tIP8k": {"answer": 10, "answer_type": "integer", "half_answer": 5}, "q_ZRQ4U8I": {"answer": 20, "answer_type": "integer", "half_answer": 10}, "q_SlcHv": {"answer": 12, "answer_type": "integer", "half_answer": 6}, "q_NBLOcmbj": {"answer": 2, "answer_type": "integer", "half_answer": 1}, "q_1PK6": {"answer": "y", "answer_type": "string", "original_string": "away"}, "q_uoq7": {"answer": "e", "answer_type": "string", "original_string": "some"}, "q_Ga4uE": {"answer": 5, "answer_type": "integer"}, "q_MITJvpY": {"answer": 51, "answer_type": "integer"}, "q_U88j9tD6": {"answer": "y", "answer_type": "string", "original_string": "many"}, "q_z2I8L": {"answer": 1, "answer_type": "integer"}, "q_qMYvqR6": {"answer": 10, "answer_type": "integer", "half_answer": 5}, "q_FiOuO": {"answer": 10, "answer_type": "integer", "half_answer": 5}, "q_BV1JhSo": {"answer": 1, "answer_type": "integer"}, "q_TywL35gs": {"answer": 20, "answer_type": "integer", "half_answer": 10}, "global_metadata": {"num_questions_asked": 14}}}