Almost primes
Very easy
Execution time limit is 1 second
Runtime memory usage limit is 64 megabytes
We call the natural number is almost prime if it is decomposed by the product of two distinct primes.
Input
A positive integer k to 2 billion, inclusive.
Output
YES, if k is almost simple, and NO, if it is not.
Examples
Input #1
Answer #1
Submissions 2K
Acceptance rate 35%