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

Ex Input:
Problem: of 30 applicants for a job , 9 had at least 4 years ' experience , 18 had degrees , and 3 had less than 4 years ' experience and did not have a degree . how many of the applicants had at least 4 years ' experience and a degree ?

Ex Output:
10

Ex Input:
Problem: a train passes a platform in 32 seconds . the same train passes a man standing on the platform in 20 seconds . if the speed of the train is 54 km / hr , the length of the platform is

Ex Output:
180 meter

Ex Input:
Problem: a does half as much work as b in 3 - fourth of the time . if together they take 18 days to complete the work , how much time shall b take to do it ?

Ex Output:
30 days