package main import ( "fmt" ) func primeFactor(n int) map[int]int { res := map[int]int{} for i := 2; i*i < n; i++ { for true { if n%i != 0 { break } res[i] += 1 n /= i } } if n != 1 { res[n] = 1 } return res } func main() { var N int fmt.Scan(&N) x := primeFactor(N) // fmt.Println(x) if len(x) > 2 { fmt.Println("YES") } else { fmt.Println("NO") } }