Given the values of and , find the number of positive integral solutions for the equation
Two positive integers and .
Print the number of positive integral solutions for the given equation. It is known that the answer is no more than .
There are positive integer solutions to the equation :