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

Question 1 (Question id: q_3BJ7nH):
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 1 grasshopper, 3 flatworms, 4 sea slugs, 3 insects, 4 cows?
 Respond with an integer.

Question 2 (Question id: q_4y3qa):
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: "a"

Question 3 (Question id: q_8w6R):
How many times does the letter "n" appear in the text: "meantime men"? Respond with an integer.

Question 4 (Question id: q_AcPYI):
How many times does the letter "n" appear in the text: "Jules Verne"? Respond with an integer.



Return a JSON with each question id as a key.

The value for each key should be an object that contains the answer in the field 'answer'.
Include an 'answer_type' field (value 'string' or 'integer') for every answer object.
For even integers, nest 'half_answer' and 'double_answer' inside an additional 'additional_answer_info' field in the answer object.
For last-character tasks, provide 'original_string' alongside the answer.

Now provide the result JSON using the described format.

{"ground_truth": {"q_QVY16yAD": {"answer": 17, "answer_type": "integer"}, "q_3BJ7nH": {"answer": 40, "answer_type": "integer", "additional_answer_info": {"half_answer": 20, "double_answer": 80}}, "q_4y3qa": {"answer": "a", "answer_type": "string", "original_string": "a"}, "q_8w6R": {"answer": 2, "answer_type": "integer", "additional_answer_info": {"half_answer": 1, "double_answer": 4}}, "q_AcPYI": {"answer": 1, "answer_type": "integer"}}}