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_6SUj):
Solve for k: 27*k - 10 = 314 Respond with an integer.

Question 1 (Question id: q_Dx3MmsV):
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 2 flatworms, 4 lobsters, 4 birds?
 Respond with an integer.

Question 2 (Question id: q_3apw5Je8):
Calculate ( 8 - -4 * 2 ).

Question 3 (Question id: q_IZzX):
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: "manage"



Return a JSON with each question id (except for q_IZzX) as a key.

Each key’s value must be an object holding an 'answer' field.
If the response to a question is an integer that is even, also add the field 'half_answer' to the object which contains the answer integer divided by two.
For string answers, include 'first_char' with the answer’s initial letter.

Now provide the result JSON using the described format.

{"ground_truth": {"q_6SUj": {"answer": 12, "half_answer": 6}, "q_Dx3MmsV": {"answer": 48, "half_answer": 24}, "q_3apw5Je8": {"answer": 16, "half_answer": 8}}}