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

Ex Input:
Problem: by investing in 1623 % stock at 64 , one earns rs . 1500 . the investment made is

Ex Output:
rs . 5760


Ex Input:
Problem: if z is a multiple of 8778 , what is the remainder when z ^ 2 is divided by 9 ?

Ex Output:
0


Ex Input:
Problem: find the average of all prime numbers between 10 and 30 .

Ex Output:

18.6