#include using namespace std; #define int long long signed main(){ int a,b; cin>>a>>b; int ans = 0; a -= b; vector S = {}; for(int i=1;i*i<=a;i++){ if(a%i == 0){ S.push_back(i); if(i*i != a) S.push_back(a/i); } } for(int x:S)if(x >= b) ans++; cout<