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

Ex Input:
Problem: a cycle is bought for rs . 900 and sold for rs . 1170 , find the gain percent ?

Ex Output:
30 %

Ex Input:
Problem: what is the value of x ^ 2 yz xyz ^ 2 , if x = 2 , y = 1 , and z = 1 ?

Ex Output:
6

Ex Input:
Problem: the lcm of two numbers is 2310 and hcf is 30 . if one of the numbers is 210 . then what is the other number ?

Ex Output:
330