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

Ex Input:
Problem: if a = 105 and a ^ 3 = 21 × 25 × 45 × z , what is the value of z ?

Ex Output:
49


Ex Input:
Problem: the population of a bacteria culture doubles every 2 minutes . approximately how many minutes will it take for the population to grow from 1,000 to 300,000 bacteria

Ex Output:
16


Ex Input:
Problem: 30 % of employees are women with fair hair . 40 % of fair - haired employees are women . what percent of employees have fair hair ?

Ex Output:

7