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_pCBIQk3G):
Calculate ( 0 * 2 / 2 ).

Question 1 (Question id: q_FRovIy):
Determine the value of g that satisfies: 11*g + 17 = 39 Respond with an integer.

Question 2 (Question id: q_2c0MTfS):
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 3 elephants, 2 cockroachs, 2 jellyfishs, 2 sea slugs?
 Respond with an integer.

Question 3 (Question id: q_GaJdaW):
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: "is"

Question 4 (Question id: q_WvrE):
Find the value of u in the equation: 90*u - 6 = 1074 Respond with an integer.

Question 5 (Question id: q_SStX3Ua):
How many times does the letter "c" appear in the text: "business office"? Respond with an integer.

Question 6 (Question id: q_b2Leg):
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: "the"

Question 7 (Question id: q_YYl9Mz):
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 3 birds, 1 dog, 3 lions, 1 shrimp, 4 crabs?
 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.

Add a top-level 'global_metadata' field that records overall stats:
'num_questions_asked' should equal the total questions that appeared.
'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_pCBIQk3G": {"answer": 0, "answer_type": "integer", "half_answer": 0}, "q_FRovIy": {"answer": 2, "answer_type": "integer", "half_answer": 1}, "q_2c0MTfS": {"answer": 24, "answer_type": "integer", "half_answer": 12}, "q_GaJdaW": {"answer": "s", "answer_type": "string"}, "q_WvrE": {"answer": 12, "answer_type": "integer", "half_answer": 6}, "q_SStX3Ua": {"answer": 1, "answer_type": "integer"}, "q_b2Leg": {"answer": "e", "answer_type": "string"}, "q_YYl9Mz": {"answer": 72, "answer_type": "integer", "half_answer": 36}, "global_metadata": {"num_questions_asked": 8, "questions_with_integer_answers": ["q_pCBIQk3G", "q_FRovIy", "q_2c0MTfS", "q_WvrE", "q_SStX3Ua", "q_YYl9Mz"]}}}