Atharva hates modulo (long story). Due to this hate, he learned everything possible about modulo and has been self-named King Modulus. He wants you to share his frustration of modulo by giving you a task. Given two integers
For example,
Input Specification
A single line containing
Output Specification
One line containing the result of
Sample Input 1
Copy
7 4
Sample Output 1
Copy
3
Sample Input 2
Copy
15 3
Sample Output 2
Copy
0
Comments