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

Input: Consider Input: Problem: in x game of billiards , x can give y 20 points in 60 and he can give z 30 points in 60 . how many points can y give z in x game of 120 ?

Output: 30


Input: Consider Input: Problem: john invests $ x at the semi - annual constant compounded rate of 2 percent and also does $ 20,000 at the quarterly constant compounded rate of 4 percent . if the interests are the same after 1 year , what is the value of x ? ?

Output: 40,402


Input: Consider Input: Problem: the age of somu is one - third his father ' s . 6 years back he was one - fifth of his father ' s age . what is his persent age ?


Output: 12