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

Ex Input:
Problem: a car started running at a speed of 30 km / hr and the speed of the car was increased by 2 km / hr at the end of every hour . find the total distance covered by the car in the first 11 hours of the journey .

Ex Output:
440 km


Ex Input:
Problem: a man purchased earphone on friday . but he forgot how much it cost . the data he have are mean expenditure of all 7 days is 500 . expenditure on mon , tue , wed , thurs , sat , sun are 450600 , 400500 , 550300 . on friday he purchased 3 things one earphone , one pen and one notebook . pen cost 30 and notebook cost 50 . then what is cost of earphone ?

Ex Output:
620


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