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

Ex Input:
Problem: a “ palindromic integer ” is an integer that remains the same when its digits are reversed . so , for example , 43334 and 516615 are both examples of palindromic integers . how many 6 - digit palindromic integers are both even and greater than 500000 ?

Ex Output:
200


Ex Input:
Problem: if the sides of a triangle are 26 cm , 24 cm and 15 cm , what is its area ?

Ex Output:
180


Ex Input:
Problem: find the length of the wire required to go 15 times round a square field containing 69696 m 2 ?

Ex Output:

15840