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

Problem: there are 2 red chips and 3 blue ones . when arranged in a row , they form a certain color pattern , for example rbrrb . how many color patterns ?
e ) 10

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 6 questions , if sterling had answered 2 more questions correctly , he would have earned 31 pieces of candy . how many of the 6 questions did zachary answer correctly ?
7

Problem: how many times digit 5 is used while writing numbers from 100 to 1000 ?

29