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

Input: Consider Input: Problem: the sum of the squares of the first 15 positive integers ( 1 ^ 2 + 2 ^ 2 + 3 ^ 2 + . . . + 15 ^ 2 ) is equal to 1240 . what is the sum of the squares of the second 15 positive integers ( 16 ^ 2 + 17 ^ 2 + 18 ^ 2 + . . . + 30 ^ 2 ) ?

Output: 8215


Input: Consider Input: Problem: a , b and c are partners in a business . their capitals are respectively , rs . 5000 , rs . 6000 and rs . 4000 . a gets 30 % of the total profit for managing the business . the remaining profit is divided among 3 in the ratio of their capitals . in the end of the year , the profit of a is rs . 200 more than the sum of the profits of b and c . find the total profit ?

Output: 3000


Input: Consider Input: Problem: the speed of a car is 85 km in the first hour and 45 km in the second hour . what is the average speed of the car ?


Output: 65 kmph