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_FfzZJyY):
Determine the value of g that satisfies: -195*g = -3510 Respond with an integer.

Question 1 (Question id: q_Vb7SO):
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: "data"

Question 2 (Question id: q_pHbPn):
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 horses, 4 leechs, 2 humans?
 Respond with an integer.

Question 3 (Question id: q_2iQjp):
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 praying mantiss, 1 cockroach, 3 leechs, 2 spiders?
 Respond with an integer.

Question 4 (Question id: q_z4BnvxBa):
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: "and"

Question 5 (Question id: q_i0fQ0):
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 4 crabs, 4 crickets, 3 lions?
 Respond with an integer.

Question 6 (Question id: q_p8OKY3):
Calculate -3 - -4.



Return a JSON with each question id as a key.

The value for each key should be an object that contains the answer in the field 'answer'.
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 response to a question is a string, add a 'first_char' field containing its first character.
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:
'num_questions_asked' should equal the total questions that appeared.

Now provide the result JSON using the described format.

{"ground_truth": {"q_FfzZJyY": {"answer": 18, "half_answer": 9}, "q_Vb7SO": {"answer": "a", "first_char": "a", "original_string": "data"}, "q_pHbPn": {"answer": 12, "half_answer": 6}, "q_2iQjp": {"answer": 40, "half_answer": 20}, "q_z4BnvxBa": {"answer": "d", "first_char": "d", "original_string": "and"}, "q_i0fQ0": {"answer": 76, "half_answer": 38}, "q_p8OKY3": {"answer": 1}, "global_metadata": {"num_questions_asked": 7}}}