A natural number greater than is called prime if it is divisible only by and itself.
A number is called biprime if it is prime, and its decimal representation can be obtained by concatenating the decimal representations of two other prime numbers P_1 and P_2. P_1 and P_2 must not have leading zeros.
For example, the prime number is biprime because it is written using the two prime numbers and . Similarly, the prime number is biprime because it is made from and , which are both prime. The number is not biprime, since expressing it as and would require the second number to have a leading zero.
Given a natural number (1 < N \leq 10^{10}), determine whether it is biprime.
The input file contains a single natural number (1 < N \leq 10^{10}).
Output YES if the number from the input file is biprime; otherwise, output NO.
Example 1