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_OmCX):
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 sheeps, 4 wasps, 4 tigers, 2 cockroachs?
 Respond with an integer.

Question 1 (Question id: q_panBhzzR):
How many times does the letter "a" appear in the text: "morning a"? Respond with an integer.

Question 2 (Question id: q_TgCCpH9):
Calculate -4 + 7.

Question 3 (Question id: q_6fMVkjO):
Find the value of m in the equation: 35*m = 245 Respond with an integer.



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

Each key’s value must be an object holding an 'answer' field.
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_TgCCpH9": {"answer": 3, "answer_type": "integer"}, "q_panBhzzR": {"answer": 1, "answer_type": "integer"}, "q_6fMVkjO": {"answer": 7, "answer_type": "integer"}}}