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_KJBbk0tn):
Solve for k: 30*k = 300 Respond with an integer.

Question 1 (Question id: q_caucG):
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: "create"

Question 2 (Question id: q_XCUVuqMV):
Calculate 6 + -1 + 7.

Question 3 (Question id: q_IgSmD7):
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: "from"

Question 4 (Question id: q_O1k3):
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 fireflys, 1 horse, 2 spiders, 1 giraffe, 4 leechs?
 Respond with an integer.

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



Your output must be a JSON mapping every question id to its answer info.

For every question id, supply an object whose 'answer' field stores the solution.
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 last-character tasks, provide 'original_string' alongside the answer.

Now provide the result JSON using the described format.

{"ground_truth": {"q_KJBbk0tn": {"answer": 10, "half_answer": 5}, "q_caucG": {"answer": "e", "original_string": "create"}, "q_XCUVuqMV": {"answer": 12, "half_answer": 6}, "q_IgSmD7": {"answer": "m", "original_string": "from"}, "q_O1k3": {"answer": 42, "half_answer": 21}, "q_4pt3u": {"answer": "t", "original_string": "what"}}}