Elton has a giant cookie that he'd like to share with the rest of the CS club. The cookie is preemptively broken up into equal pieces, but he soon realizes that people might not be present at the club's next meeting! He will only share his cookie if he is sure that there will be no pieces remaining after it is equally divided amongst the club members.
Given the number of pieces there are, as well as the number of people that will be present at the club's next meeting, determine if Elton will share his cookie, and if so, how many pieces each person will get. Otherwise, determine how many additional people would need to be present in order for him to share it.
The first and only line of input will contain two space-separated integers and , representing the number of pieces the cookie has already been broken up into, as well as the number of people that will be present at the next club meeting, respectively.
If Elton will share his cookie, output
yes X, where
X is the number of pieces that each person will get. Otherwise, output
no Y, where
Y is the smallest number of additional people needed to attend the meeting in order for the cookie to be shared.
Sample Input 1
Sample Output 1
Sample Input 2
Sample Output 2