a,b=input().split(' ') a=int(a) b=int(a) c=0 for i in range(a-1,b): y=i for i in range(1,a): if y%i==0: c+=1 print(c)