Given two integers and .
Write a program that prints the remainder when is divided by , that is, .
Input
The input is given in the following format.
Output
Print on the first line.
Constraints
- .
- .
Subtasks
Samples
입력
7 3
출력
1
When is divided by , the quotient is and the remainder is .
해설
관리자가 작성한 해설을 별도 페이지에서 볼 수 있어요.