Task: Question Answering
Input (English): Problem: zachary is helping his younger brother , sterling , learn his multiplication tables . for every question that sterling answers correctly , zachary gives him 3 pieces of candy . for every question that sterling answers incorrectly , zachary takes away two pieces of candy . after 9 questions , if sterling had answered 2 more questions correctly , he would have earned 31 pieces of candy . how many of the 9 questions did zachary answer correctly ?
Output (English): 8