The task is to generate the correct answer for a given math problem.

[EX Q]: Problem: what positive number , when squared , is equal to the cube of the positive square root of 14 ?
[EX A]: 4

[EX Q]: Problem: a train 140 m long is running at 60 kmph . in how much time wiu it pass a platform 260 m long ?
[EX A]: 24 sec

[EX Q]: 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 ?
[EX A]:
8