fn has_two_divisor(n: i64) -> bool { let mut c = 0; let mut m = n; if m == 1 || m == 2 { return false } else { let mut i = 2; while m >= i * i { if m % i == 0 { c += 1; m /= i; continue; } i += 1; } if c >= 2 { return true; } } false } fn main() { let mut n = String::new(); std::io::stdin().read_line(&mut n).ok(); let n: i64 = n.trim().parse().unwrap(); if has_two_divisor(n){ println!("YES"); } else { println!("NO"); } }