The task is to generate the correct answer for a given math problem.
--------
Question: 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 ?

Answer: 4


Question: Problem: a train crosses a bridge of length 200 m in 10 seconds and a lamp post on the bridge in 5 seconds . what is the length of the train in metres ?

Answer: 200 m


Question: Problem: two employees x and y are paid a total of rs . 700 per week by their employer . if x is paid 120 percent of the sum paid to y , how much is y paid per week ?

Answer:
s . 318.1