#!ruby -prprime s=0;$_.to_i.prime_division.map{|a,b|s+=b};$_=s>2?:YES:'NO'