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