eolymp
bolt
Try our new interface for solving problems
Problems

Almost primes

Almost primes

We call the natural number is \textit{almost prime} if it is decomposed by the product of two distinct primes. \InputFile A positive integer \textbf{k} to \textbf{2} billion, inclusive. \OutputFile \textbf{YES}, if \textbf{k} is almost simple, and \textbf{NO}, if it is not.
Time limit 1 second
Memory limit 64 MiB
Input example #1
6
Output example #1
YES