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

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

Example Input: Problem: a group of men decided to do a work in 55 days , but 15 of them became absent . if the rest of the group did the work in 60 days , find the original number of men ?
Example Output: 180

Example Input: Problem: find the remainder of the division ( 3 ^ 33 ) / 7 .
Example Output: