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_DLeGC2):
Calculate 4 - -3.

Question 1 (Question id: q_A3BA):
Find the value of t in the equation: 7*t + 17 = 80 Respond with an integer.

Question 2 (Question id: q_pwP5):
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 elephants, 1 woodlouse, 4 giraffes, 2 cockroachs?
 Respond with an integer.



Produce a JSON object whose top-level keys are the question ids.

The value for each key should be an object that contains the answer in the field 'answer'.
Also add the answer type as 'string' or 'integer' to the field 'answer_type' for each object.
For even integer answers, include 'half_answer' equal to answer ÷ 2.
For string answers, include 'first_char' with the answer’s initial letter.
If the question asks for the last character of a string, add an 'original_string' field containing the source string.

Now provide the result JSON using the described format.

{"ground_truth": {"q_DLeGC2": {"answer": 7, "answer_type": "integer"}, "q_A3BA": {"answer": 9, "answer_type": "integer"}, "q_pwP5": {"answer": 50, "answer_type": "integer", "half_answer": 25}}}