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_3WY4DnZ):
Solve for a: 155 - 8*a = 131 Respond with an integer.

Question 1 (Question id: q_qVDE):
How many times does the letter "s" appear in the text: "instruments the new"? Respond with an integer.

Question 2 (Question id: q_HhRjTj):
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 snakes, 1 leech, 1 bird?
 Respond with an integer.

Question 3 (Question id: q_rXzx):
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: "giving"

Question 4 (Question id: q_260Q0oc):
Calculate -3 - -5 - -7.

Question 5 (Question id: q_rehIz):
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 6 (Question id: q_UNQdfQ):
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 fireflys, 2 grasshoppers, 1 praying mantis?
 Respond with an integer.

Question 7 (Question id: q_BaeE7HcX):
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: "feeds"

Question 8 (Question id: q_TjvWd):
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: "far"

Question 9 (Question id: q_disgO):
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 wasps, 2 lions, 4 cockroachs, 2 dogs, 4 giraffes?
 Respond with an integer.

Question 10 (Question id: q_MiGKC):
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 shrimps, 4 dogs, 1 snake?
 Respond with an integer.

Question 11 (Question id: q_QNry2k):
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 sheeps, 4 dogs, 4 cockroachs, 4 shrimps, 3 elephants?
 Respond with an integer.

Question 12 (Question id: q_vSJ5S1Q1):
Calculate ( -2 - -8 ).



Return a JSON with each question id as a key.

The value for each key should be an object that contains the answer in the field 'answer'.
Include an 'answer_type' field (value 'string' or 'integer') for every answer 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.

Now provide the result JSON using the described format.

{"ground_truth": {"q_3WY4DnZ": {"answer": 3, "answer_type": "integer"}, "q_qVDE": {"answer": 2, "answer_type": "integer", "half_answer": 1}, "q_HhRjTj": {"answer": 2, "answer_type": "integer", "half_answer": 1}, "q_rXzx": {"answer": "g", "answer_type": "string"}, "q_260Q0oc": {"answer": 9, "answer_type": "integer"}, "q_rehIz": {"answer": "d", "answer_type": "string"}, "q_UNQdfQ": {"answer": 42, "answer_type": "integer", "half_answer": 21}, "q_BaeE7HcX": {"answer": "s", "answer_type": "string"}, "q_TjvWd": {"answer": "r", "answer_type": "string"}, "q_disgO": {"answer": 68, "answer_type": "integer", "half_answer": 34}, "q_MiGKC": {"answer": 56, "answer_type": "integer", "half_answer": 28}, "q_QNry2k": {"answer": 100, "answer_type": "integer", "half_answer": 50}, "q_vSJ5S1Q1": {"answer": 6, "answer_type": "integer", "half_answer": 3}}}