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_HnanE1):
Find the value of k in the equation: 280 - 7*k = 217 Respond with an integer.

Question 1 (Question id: q_oyEZy):
Determine the value of g that satisfies: 11*g + 17 = 39 Respond with an integer.

Question 2 (Question id: q_lK7D9U0):
How many times does the letter "b" appear in the text: "Good by"? Respond with an integer.

Question 3 (Question id: q_vO6MQGz):
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 tigers, 3 birds, 4 cats, 1 lion?
 Respond with an integer.

Question 4 (Question id: q_r25Qc):
How many times does the letter "c" appear in the text: "A campaign"? Respond with an integer.

Question 5 (Question id: q_7tANGi5):
Solve for i: 36*i + 116 = 332 Respond with an integer.

Question 6 (Question id: q_4t1dyP):
Solve for r: 6 - 4*r = -74 Respond with an integer.

Question 7 (Question id: q_lFb9f):
Solve for q: -10*q - 9 = -119 Respond with an integer.

Question 8 (Question id: q_aOFzfSir):
Solve for n: -11*n - 8 = -173 Respond with an integer.

Question 9 (Question id: q_0N9EwZ):
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 bird, 4 wasps, 1 giraffe?
 Respond with an integer.

Question 10 (Question id: q_b4jbFc5):
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 human, 3 ants, 2 lions, 1 cricket, 2 cockroachs?
 Respond with an integer.

Question 11 (Question id: q_cZnV1):
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: "been"

Question 12 (Question id: q_E8EzK):
Calculate ( 8 / 1 ).

Question 13 (Question id: q_k9GNaK):
How many times does the letter "i" appear in the text: "within 90"? Respond with an integer.



Return a JSON with each question id as a key.

Each key’s value must be an object holding an 'answer' field.
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.
For animal-leg questions, add 'animal_types': an alphabetically-sorted list of unique animal names in singular form.

Now provide the result JSON using the described format.

{"ground_truth": {"q_HnanE1": {"answer": 9}, "q_oyEZy": {"answer": 2, "half_answer": 1}, "q_lK7D9U0": {"answer": 1}, "q_vO6MQGz": {"answer": 42, "half_answer": 21, "animal_types": ["bird", "cat", "lion", "tiger"]}, "q_r25Qc": {"answer": 1}, "q_7tANGi5": {"answer": 6, "half_answer": 3}, "q_4t1dyP": {"answer": 20, "half_answer": 10}, "q_lFb9f": {"answer": 11}, "q_aOFzfSir": {"answer": 15}, "q_0N9EwZ": {"answer": 30, "half_answer": 15, "animal_types": ["bird", "giraffe", "wasp"]}, "q_b4jbFc5": {"answer": 46, "half_answer": 23, "animal_types": ["ant", "cockroach", "cricket", "human", "lion"]}, "q_cZnV1": {"answer": "n", "first_char": "n"}, "q_E8EzK": {"answer": 8, "half_answer": 4}, "q_k9GNaK": {"answer": 2, "half_answer": 1}}}