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

Ex Input:
Problem: a 270 metres long bullet train running at the speed of 120 kmph crosses another bullet train running in opposite direction at the speed of 80 kmph in 9 seconds . what is the length of the other bullet train ?

Ex Output:
230

Ex Input:
Problem: how many diagonals does a polygon with 13 sides have , if one of its vertices does not connect to any diagonal ?

Ex Output:
54

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 the average by 4 year . find what was theoriginal strength of class ?

Ex Output:
12