TASK DEFINITION: The task is to generate the correct answer for a given math problem.
PROBLEM: Problem: a , b and c rents a pasture for rs . 730 . a put in 12 horses for 8 months , b 16 horses for 9 months and 18 horses for 6 months . how much should c pay ?

SOLUTION: 22

PROBLEM: Problem: a certain kind of necklace is made from 9 green , 6 white , and 3 orange beads . what is the maximum number of these necklaces that can be made from 45 beads of each color ?

SOLUTION: 5

PROBLEM: Problem: if a no . when divided by 44 , gives 432 as quotient and 0 as remainder . what will be the remainder when dividing thesame no . by 31

SOLUTION:
5