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

Ex Input:
Problem: students at a school were on average 180 cm tall . the average female height was 170 cm , and the average male height was 184 cms . what was the ratio a of men to women ?

Ex Output:
5 : 2

Ex Input:
Problem: a man , a woman and a boy can together complete a piece of work in 3 days . if a woman alone can do it in 6 days and a boy alone in 18 days , how long will a man take to complete the work ?

Ex Output:
9 days

Ex Input:
Problem: the average age of an adult class is 40 years . 12 new students with an avg age of 32 years join the class . therefore decreasing theaverage by 4 year . find what was theoriginal strength of class ?

Ex Output:
12