Mr. Forhad has children. One day, on his way home, he bought chocolates for his children. He doesn't know if he can divide these chocolates equally among his children. If he can’t, then he must buy some more chocolates so that he can divide the chocolates equally among his children.
Now, you need to write a program to help Mr. Forhad determine the minimum number of additional chocolates that he needs to by so that he can make the distribution fair.
Each line will have two integers and () where is the number of children that Mr. Forhad has and is the number of chocolates that Mr. Forhad has already bought.
You must print one integer which is the minimum number of additional chocolates that Mr. Forhad needs to buy.