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

Ex Input:
Problem: the compound interest on $ 30,000 at 7 % p . a is $ . 4347 . find out the period ( in years ) ?

Ex Output:
2


Ex Input:
Problem: a certain experimental mathematics program was tried out in 2 classes in each of 38 elementary schools and involved 44 teachers . each of the classes had 1 teacher and each of the teachers taught at least 1 , but not more than 3 , of the classes . if the number of teachers who taught 3 classes is n , then the least and greatest possible values of n , respectively , are

Ex Output:
0 and 16


Ex Input:
Problem: a cube has one of its faces painted half red and half white . the other faces are completely painted white . what is the ratio between the red painted areas and the white painted areas of the cube ?

Ex Output:

1 : 11