A and b are positive integers


#1

you should take care of a<=b and **a>=0 **