use std::{ collections::{BTreeSet, HashMap}, hash::Hash, thread::panicking, }; const TEN9PLUS7: u64 = 1000000007; fn main() { proconio::input! { n: u64, } let x = factorize(n); eprintln!("{x:?}"); if x.len() >= 3 { println!("YES"); } else { println!("NO"); } } // 素因数分解 fn factorize(x: u64) -> Vec { let mut tbl = Vec::new(); let mut x = x; let mut i = 2; while i * i <= x { if x % i == 0 { tbl.push(i); x /= i; } else { i += 1; } } if x != 1 { tbl.push(x); } tbl }