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_ykedfZ):
Calculate ( 6 + 6 ).

Question 1 (Question id: q_oTnCtifB):
Solve for k: 30*k = 300 Respond with an integer.

Question 2 (Question id: q_Ikd8):
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 3 (Question id: q_qLmPvYv7):
Calculate -4 + 7.

Question 4 (Question id: q_mVnlNRBb):
Solve for g: 4*g + 10 = 38 Respond with an integer.

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



Create a JSON object keyed by every question id except q_ykedfZ.

For every question id, supply an object whose 'answer' field stores the solution. If a question involves animal-leg or letter counting, include 'task_type' set to 'leg_counting' or 'letter_counting'.
Include an 'answer_type' field (value 'string' or 'integer') for every answer object.
For even integer answers, include 'half_answer' equal to answer ÷ 2.

Now provide the result JSON using the described format.

{"ground_truth": {"q_Ikd8": {"answer": "d", "answer_type": "string"}, "q_oTnCtifB": {"answer": 10, "answer_type": "integer", "half_answer": 5}, "q_mVnlNRBb": {"answer": 7, "answer_type": "integer"}, "q_xIpge": {"answer": "d", "answer_type": "string"}, "q_qLmPvYv7": {"answer": 3, "answer_type": "integer"}}}