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_GM8aC9):
Find the value of r in the equation: 40*r = 120 Respond with an integer.

Question 1 (Question id: q_6Tj0tTzf):
Calculate 9 / 9.

Question 2 (Question id: q_vH6iA):
Calculate 4 * 8.

Question 3 (Question id: q_vPfELdL):
How many times does the letter "e" appear in the text: "check the"? Respond with an integer.

Question 4 (Question id: q_spCaWpiC):
Find the value of f in the equation: -5*f - 30 = -70 Respond with an integer.



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

The value for each key should be an object that contains the answer in the field 'answer'.
For even integer answers, include 'half_answer' equal to answer ÷ 2.
For string answers, include 'first_char' with the answer’s initial letter.

Now provide the result JSON using the described format.

{"ground_truth": {"q_6Tj0tTzf": {"answer": 1}, "q_spCaWpiC": {"answer": 8, "half_answer": 4}, "q_GM8aC9": {"answer": 3}, "q_vH6iA": {"answer": 32, "half_answer": 16}}}