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

Ex Input:
Problem: a train covers a distance of 12 km in 10 minutes . if it takes 8 seconds to pass a telegraph post , then the length of the train is

Ex Output:
160 m


Ex Input:
Problem: the function f ( n ) is defined as the product of all the consecutive positive integers between 3 and n ^ 2 , inclusive , whereas the function g ( n ) is defined as the product of the squares of all the consecutive positive integers between 1 and n , inclusive . the exponent on 2 in the prime factorization of f ( 3 ) / g ( 3 ) is

Ex Output:
3


Ex Input:
Problem: the ratio between the number of sheep and the number of horses at the stewart farm is 5 to 7 , if each horse is fed 230 ounces of horse food per day and the farm needs a total 12,880 ounces of horse food per day , what is the number of sheep in the farm ?

Ex Output:

40