package main import . "fmt" import . "math" func main() { var a,b float64 Scan(&a,&b) if Floor(a*Log2(b))==Floor(b*Log2(a)) { Println("Yes") } else { Println("No") } }