Definition: The task is to generate the correct answer for a given math problem.
Input: Problem: the product z of two prime numbers is between 16 and 40 . if one of the prime numbers is greater than 2 but less than 6 and the other is greater than 12 but less than 30 then what is z ?
