#! ruby # yukicoder My Practice # author: Leonardone @ NEETSDKASU require "prime" n = gets.to_i ps = n.prime_division c = ps.transpose[1].inject(:+) ans = c > 2 ? :YES : :NO puts ans