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_8Mwhtee):
Solve for h: 18 - 5*h = -67 Respond with an integer.

Question 1 (Question id: q_ArY45yN):
Calculate 4 + 4.

Question 2 (Question id: q_isVQ9FNE):
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 1 jellyfish, 4 sheeps, 4 horses, 4 humans, 1 praying mantis?
 Respond with an integer.

Question 3 (Question id: q_l3QTufs):
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 1 woodlouse, 3 cows, 1 lion, 1 elephant, 4 tigers?
 Respond with an integer.

Question 4 (Question id: q_5nf3N):
Calculate ( 4 * 5 ) + -9.

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

Question 6 (Question id: q_R3Rcdm):
Calculate 7 + 6 + 8.

Question 7 (Question id: q_60POwE):
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 insects, 4 snakes, 1 bird, 1 starfish?
 Respond with an integer.



Return a JSON with each question id as a key.

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.
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.

Now provide the result JSON using the described format.

{"ground_truth": {"q_8Mwhtee": {"answer": 17, "answer_type": "integer"}, "q_ArY45yN": {"answer": 8, "answer_type": "integer", "half_answer": 4}, "q_isVQ9FNE": {"answer": 46, "answer_type": "integer", "half_answer": 23}, "q_l3QTufs": {"answer": 50, "answer_type": "integer", "half_answer": 25}, "q_5nf3N": {"answer": 11, "answer_type": "integer"}, "q_CQ3tFJ": {"answer": "l", "answer_type": "string", "first_char": "l"}, "q_R3Rcdm": {"answer": 21, "answer_type": "integer"}, "q_60POwE": {"answer": 25, "answer_type": "integer"}}}