Your friend has watermelons. He doesn't want to share them with anyone, but let's imagine he would.
He needs to distribute them equally among people. Given he shares them whole and gives them as many as possible, print how many watermelons would remain after giving every individual an equal number of watermelons.
You can assume that there will be more watermelons than the number of people.
The input will contain two integers: () and ().
Print the number of remaining watermelons.