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

[Q]: 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 ?
[A]: 4

[Q]: Problem: gopi gives rs . 90 plus one turban as salary to his servant for one year . the servant leaves after 9 months and receives rs . 60 and the turban . find the price of the turban .
[A]: 30

[Q]: Problem: what distance will be covered by a bus moving at 126 kmph in 10 seconds ?
[A]:
350