You will be given two integers . You are required to output the result of mod .
Constraints
Input Format
First and only line of the input will contain two integers separated by a single blank space.
Output Format
Output the desired result in a single line.
Sample Input
2 7
Sample Output
2
Explanation
, , and mod is .