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_CSUiEs1c):
How many times does the letter "f" appear in the text: "Archive Foundation are"? Respond with an integer.

Question 1 (Question id: q_Qi6SXP):
How many times does the letter "k" appear in the text: "work required"? Respond with an integer.

Question 2 (Question id: q_MY4gu):
Calculate ( 0 * -3 ).

Question 3 (Question id: q_iH2QJT):
Solve for n: 36 - 13*n = -120 Respond with an integer.



Your output must be a JSON mapping every question id to its answer info.

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.
If the response to a question is a string, add a 'first_char' field containing its first character.

Beyond the question-id fields, add a 'global_metadata' object with summary information:
Set 'num_questions_asked' to the count of questions originally displayed.
'num_questions_answered' must hold the number of answered questions.
'questions_with_integer_answers' should enumerate every id whose answer is an integer.

Now provide the result JSON using the described format.

{"ground_truth": {"q_CSUiEs1c": {"answer": 1, "answer_type": "integer"}, "q_Qi6SXP": {"answer": 1, "answer_type": "integer"}, "q_MY4gu": {"answer": 0, "answer_type": "integer", "half_answer": 0}, "q_iH2QJT": {"answer": 12, "answer_type": "integer", "half_answer": 6}, "global_metadata": {"num_questions_asked": 4, "num_questions_answered": 4, "questions_with_integer_answers": ["q_CSUiEs1c", "q_Qi6SXP", "q_MY4gu", "q_iH2QJT"]}}}