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_kjP7Ixf3):
Calculate 8 * 7.

Question 1 (Question id: q_bWnmb):
Find the value of v in the equation: 8 - 9*v = -10 Respond with an integer.

Question 2 (Question id: q_RCP1):
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 crabs, 3 cockroachs, 3 spiders, 2 lobsters, 4 flatworms?
 Respond with an integer.

Question 3 (Question id: q_cGd3Z):
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: "even"

Question 4 (Question id: q_KqIUreK):
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: "like"



Produce a JSON object whose top-level keys are the question ids.

For every question id, supply an object whose 'answer' field stores the solution.
Include an 'answer_type' field (value 'string' or 'integer') for every answer object.
For even integer answers, include 'half_answer' equal to answer ÷ 2.
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_kjP7Ixf3": {"answer": 56, "answer_type": "integer", "half_answer": 28}, "q_bWnmb": {"answer": 2, "answer_type": "integer", "half_answer": 1}, "q_RCP1": {"answer": 92, "answer_type": "integer", "half_answer": 46}, "q_cGd3Z": {"answer": "n", "answer_type": "string", "original_string": "even"}, "q_KqIUreK": {"answer": "e", "answer_type": "string", "original_string": "like"}}}