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_rloqTo7Q):
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: "might"

Question 1 (Question id: q_QNXcw):
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 elephant, 3 fireflys, 3 praying mantiss, 4 horses, 1 jellyfish?
 Respond with an integer.

Question 2 (Question id: q_LqTA):
Find the value of h in the equation: 20 - 11*h = -90 Respond with an integer.

Question 3 (Question id: q_4Xs5IglU):
How many times does the letter "c" appear in the text: "become a"? Respond with an integer.



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

Each key’s value must be an object holding an 'answer' field. Additionally, if the task is about counting legs of animals or counting letters in a string, add the task_type field with value 'leg_counting' or 'letter_counting', respectively.
Include an 'answer_type' field (value 'string' or 'integer') for every answer object.
For even integers, nest 'half_answer' and 'double_answer' inside an additional 'additional_answer_info' field in the answer object.
For string answers, include 'first_char' with the answer’s initial letter.

Now provide the result JSON using the described format.

{"ground_truth": {"q_QNXcw": {"answer": 56, "task_type": "leg_counting", "answer_type": "integer", "additional_answer_info": {"half_answer": 28, "double_answer": 112}}, "q_LqTA": {"answer": 10, "answer_type": "integer", "additional_answer_info": {"half_answer": 5, "double_answer": 20}}, "q_4Xs5IglU": {"answer": 1, "task_type": "letter_counting", "answer_type": "integer"}}}