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_tdhrvu6):
Find the value of y in the equation: 12*y + 7 = 103 Respond with an integer.

Question 1 (Question id: q_13bQ0jrF):
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: "in"

Question 2 (Question id: q_Ql6BxFhz):
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: "is"

Question 3 (Question id: q_zpSG2wr):
How many times does the letter "d" appear in the text: "propose to do"? Respond with an integer.

Question 4 (Question id: q_zA5LC):
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: "more"

Question 5 (Question id: q_8LXLCKP):
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: "ideas"

Question 6 (Question id: q_HUvmu):
How many times does the letter "h" appear in the text: "you English will"? Respond with an integer.

Question 7 (Question id: q_yr9M9v):
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: "for"

Question 8 (Question id: q_F9mmM):
Calculate 8 * 7 + 1.

Question 9 (Question id: q_9ufUoz4w):
Solve for e: 19*e + 6 = 158 Respond with an integer.

Question 10 (Question id: q_ZcaX9e):
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 fireflys, 4 humans, 4 beetles, 2 elephants, 4 spiders?
 Respond with an integer.

Question 11 (Question id: q_uiOCyN):
Calculate -3 - -4.

Question 12 (Question id: q_9xOsOKis):
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: "explain"



Output JSON where all question ids are keys, omitting q_8LXLCKP.

For every question id, supply an object whose 'answer' field stores the solution.
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 last-character tasks, provide 'original_string' alongside the answer.
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_9ufUoz4w": {"answer": 8, "half_answer": 4}, "q_HUvmu": {"answer": 1}, "q_ZcaX9e": {"answer": 90, "half_answer": 45, "animal_types": ["beetle", "elephant", "firefly", "human", "spider"]}, "q_zpSG2wr": {"answer": 1}, "q_9xOsOKis": {"answer": "n", "first_char": "n", "original_string": "explain"}, "q_F9mmM": {"answer": 57}, "q_Ql6BxFhz": {"answer": "s", "first_char": "s", "original_string": "is"}, "q_13bQ0jrF": {"answer": "n", "first_char": "n", "original_string": "in"}, "q_uiOCyN": {"answer": 1}, "q_yr9M9v": {"answer": "r", "first_char": "r", "original_string": "for"}, "q_zA5LC": {"answer": "e", "first_char": "e", "original_string": "more"}, "q_tdhrvu6": {"answer": 8, "half_answer": 4}}}