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

Ex Input:
Problem: a statue is being carved by a sculptor . the original piece of marble weighed 180 kg . in the first week 28 percent is cut away . in the second week 18 percent of the remainder is cut away . in the third week the statue is completed when 20 percent of the remainder is cut away . what is the weight of the final statue ?

Ex Output:
85 kg


Ex Input:
Problem: for all positive integers m , [ m ] = 3 m when m is odd and [ m ] = ( 1 / 2 ) * m when m is even . what is [ 5 ] * [ 8 ] equivalent to ?

Ex Output:
[ 120 ]


Ex Input:
Problem: if 4 ( p ' s capital ) = 6 ( q ' s capital ) = 10 ( r ' s capital ) , then out of the total profit of rs 4030 , r will receive

Ex Output:

780