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

Example Input: Problem: a 10 % stock yields 8 % . the market value of the stock is :
Example Output: rs . 125

Example Input: Problem: a palindrome is a number that reads the same front - to - back as it does back - to - front ( e . g . 202 , 575 , 1991 , etc . ) p is the smallest integer greater than 500 that is both a prime and a palindrome . what is the sum of the digits of p ?
Example Output: 4

Example Input: Problem: the length of a train and that of a platform are equal . if with a speed of 108 k / hr , the train crosses the platform in one minute , then the length of the train ( in meters ) is ?
Example Output:
900