#abc105a. [abc105_a]AtCoder Crackers

[abc105_a]AtCoder Crackers

Problem Statement

Takahashi has decided to distribute NN AtCoder Crackers to KK users of as evenly as possible. When all the crackers are distributed, find the minimum possible (absolute) difference between the largest number of crackers received by a user and the smallest number received by a user.

Constraints

  • 1leqN,Kleq1001 \\leq N,K \\leq 100
  • All values in input are integers.

Input

Input is given from Standard Input in the following format:

NN KK

Output

Print the minimum possible (absolute) difference between the largest number of crackers received by a user and the smallest number received by a user.


Sample Input 1

7 3

Sample Output 1

1

When the users receive two, two and three crackers, respectively, the (absolute) difference between the largest number of crackers received by a user and the smallest number received by a user, is 11.


Sample Input 2

100 10

Sample Output 2

0

The crackers can be distributed evenly.


Sample Input 3

1 1

Sample Output 3

0