def countMultiple(r,div,mod): if r==0: return 0 res = r//div if mod<=r%div and 0