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_ImIUkkH):
Solve for p: 7 - 17*p = -299 Respond with an integer.

Question 1 (Question id: q_pWbRPUzF):
How many times does the letter "h" appear in the text: "striking twelve the"? Respond with an integer.

Question 2 (Question id: q_ElRuL):
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 scorpions, 4 cows, 2 fireflys, 3 lions?
 Respond with an integer.

Question 3 (Question id: q_EsmYNWJJ):
Solve for x: 11*x - 8 = 25 Respond with an integer.

Question 4 (Question id: q_sUf0sK):
Calculate 9 + -6.

Question 5 (Question id: q_MfrtN8q):
Find the value of y in the equation: 126 - 252*y = -4914 Respond with an integer.

Question 6 (Question id: q_N026Q):
Calculate 4 * 7 + 3.

Question 7 (Question id: q_25Snil4):
Calculate 4 - 1 / 1.

Question 8 (Question id: q_w00t6p):
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 sea slug, 4 wasps, 3 giraffes, 1 praying mantis, 1 bee?
 Respond with an integer.

Question 9 (Question id: q_rqZSQe):
Determine the value of m that satisfies: m + 13 = 24 Respond with an integer.

Question 10 (Question id: q_lLkZem):
Find the value of m in the equation: 35*m = 245 Respond with an integer.



Produce a JSON object whose top-level keys are the question ids.

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.
For string answers, include 'first_char' with the answer’s initial letter.

Beyond the question-id fields, add a 'global_metadata' object with summary information:
Set 'num_questions_asked' to the count of questions originally displayed.
'questions_with_integer_answers' should enumerate every id whose answer is an integer.

Now provide the result JSON using the described format.

{"ground_truth": {"q_ImIUkkH": {"answer": 18, "answer_type": "integer", "half_answer": 9}, "q_pWbRPUzF": {"answer": 1, "answer_type": "integer"}, "q_ElRuL": {"answer": 56, "answer_type": "integer", "half_answer": 28}, "q_EsmYNWJJ": {"answer": 3, "answer_type": "integer"}, "q_sUf0sK": {"answer": 3, "answer_type": "integer"}, "q_MfrtN8q": {"answer": 20, "answer_type": "integer", "half_answer": 10}, "q_N026Q": {"answer": 31, "answer_type": "integer"}, "q_25Snil4": {"answer": 3, "answer_type": "integer"}, "q_w00t6p": {"answer": 48, "answer_type": "integer", "half_answer": 24}, "q_rqZSQe": {"answer": 11, "answer_type": "integer"}, "q_lLkZem": {"answer": 7, "answer_type": "integer"}, "global_metadata": {"num_questions_asked": 11, "questions_with_integer_answers": ["q_ImIUkkH", "q_pWbRPUzF", "q_ElRuL", "q_EsmYNWJJ", "q_sUf0sK", "q_MfrtN8q", "q_N026Q", "q_25Snil4", "q_w00t6p", "q_rqZSQe", "q_lLkZem"]}}}