Remainder
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
Find the remainder after dividing the last digit by the first in the given positive three-digit integer.
Input
One positive three-digit integer.
Output
Print the desired remainder.
Examples
Input #1
Answer #1
Submissions 20K
Acceptance rate 58%