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

Input: Consider Input: Problem: the least number which should be added to 1789 so that the sum is exactly divisible by 5 , 6 , 4 and 3 is ?

Output: 11


Input: Consider Input: Problem: a and b invests rs . 10000 each , a investing for 6 months and b investing for all the 12 months in the year . if the total profit at the end of the year is rs . 24000 , find their shares ?

Output: 8000


Input: Consider Input: Problem: when the positive integer y is divided by 9 , the remainder is 5 . what is the remainder when 3 y is divided by 9 ?


Output: