package main import . "fmt" func main() { var n,k int64 Scan(&n,&k) var c int n-=k for i:=int64(1);i*i<=n;i++ { if n%i!=0 { continue } if i>k{ c++ } if n/i>k&&i!=n/i{ c++ } } Println(c) }