Problems
066
066
066
Input example #1
7 4
Output example #1
0
Input example #2
8 -2
Output example #2
1
066
7 4
0
8 -2
1