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

Ex Input:
Problem: how many numbers are divisible by both 2 and 3 up to 300 ?

Ex Output:
50


Ex Input:
Problem: the average age of 10 men is increased by years when two of them whose ages are 21 years and 23 years are replaced by two new men . the average age of the two new men is

Ex Output:
3


Ex Input:
Problem: a car averages 30 miles per hour for the first 5 hours of a trip and averages 42 miles per hour for each additional hour of travel time . if the average speed for the entire trip is 38 miles per hour , how many hours long is the trip ?

Ex Output:

15


