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_6Hco):
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 flatworms, 1 leech, 1 cow, 3 praying mantiss?
 Respond with an integer.

Question 1 (Question id: q_c5dSWS):
Find the value of t in the equation: 7*t + 17 = 80 Respond with an integer.

Question 2 (Question id: q_DjGdC9V):
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, 3 ants, 3 crabs, 3 dogs?
 Respond with an integer.

Question 3 (Question id: q_mAYldTL):
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: "people"

Question 4 (Question id: q_UtVVaQ):
Solve for l: 15*l + 8 = 173 Respond with an integer.

Question 5 (Question id: q_VJhX):
Calculate 6 + -1 + 7.

Question 6 (Question id: q_LMyyuIF):
Solve for i: 6*i + 30 = 72 Respond with an integer.



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

For every question id, supply an object whose 'answer' field stores the solution.
Also add the answer type as 'string' or 'integer' to the field 'answer_type' for each object.
For even integer answers, include 'half_answer' equal to answer ÷ 2.
For string answers, include 'first_char' with the answer’s initial letter.
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_LMyyuIF": {"answer": 7, "answer_type": "integer"}, "q_UtVVaQ": {"answer": 11, "answer_type": "integer"}, "q_6Hco": {"answer": 22, "answer_type": "integer", "half_answer": 11}, "q_DjGdC9V": {"answer": 68, "answer_type": "integer", "half_answer": 34}, "q_VJhX": {"answer": 12, "answer_type": "integer", "half_answer": 6}, "q_c5dSWS": {"answer": 9, "answer_type": "integer"}}}