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_zyJx5):
Calculate 7 + 4 + 3.

Question 1 (Question id: q_iupuYhDN):
Determine the value of n that satisfies: 10 - 6*n = -80 Respond with an integer.

Question 2 (Question id: q_av8t05c):
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: "to"

Question 3 (Question id: q_0ePg):
Solve for x: 20*x + 1 = 301 Respond with an integer.

Question 4 (Question id: q_l9ex2):
Calculate 5 / 5 + 0.

Question 5 (Question id: q_aRNJ):
Calculate -9 * -5.

Question 6 (Question id: q_26vhXi):
Find the value of r in the equation: 40*r = 120 Respond with an integer.

Question 7 (Question id: q_IWnn1):
Calculate ( -1 * -5 ) * 1.

Question 8 (Question id: q_gVWp87ep):
Find the value of f in the equation: 19 - 16*f = -301 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'.
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.

Now provide the result JSON using the described format.

{"ground_truth": {"q_zyJx5": {"answer": 14, "half_answer": 7}, "q_iupuYhDN": {"answer": 15}, "q_av8t05c": {"answer": "o", "first_char": "o", "original_string": "to"}, "q_0ePg": {"answer": 15}, "q_l9ex2": {"answer": 1}, "q_aRNJ": {"answer": 45}, "q_26vhXi": {"answer": 3}, "q_IWnn1": {"answer": 5}, "q_gVWp87ep": {"answer": 20, "half_answer": 10}}}