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_K0gk2K):
Determine the value of q that satisfies: 7*q + 3 = 122 Respond with an integer.

Question 1 (Question id: q_ftqu):
How many times does the letter "n" appear in the text: "opening Who"? Respond with an integer.

Question 2 (Question id: q_PUMPZ):
How many times does the letter "w" appear in the text: "height with"? Respond with an integer.

Question 3 (Question id: q_uGmvRI):
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: "in"



Output JSON where all question ids are keys, omitting q_ftqu.

Each key’s value must be an object holding an 'answer' field.
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.
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_K0gk2K": {"answer": 17}, "q_uGmvRI": {"answer": "n", "first_char": "n", "original_string": "in"}, "q_PUMPZ": {"answer": 1}}}