(use math.prime) (let* ((n (read))) (print (if (small-prime? n) "NO" "YES")))