Biprime numbers
A natural number greater than 1 is called prime if it is divisible only by 1 and itself.
We define a number P as biprime if it is prime and its decimal representation can be formed by concatenating two other prime numbers, P_1 and P_2. Additionally, P_1 and P_2 must not have leading zeros.
For instance, the prime number 1123 is biprime because it can be expressed as the concatenation of the prime numbers 11 and 23. Similarly, the prime number 617 is biprime because it is composed of 61 and 7, both of which are prime. However, the number 1103 is not biprime because forming it with 11 and 03 would require a leading 0 in the second number.
Given a natural number N (1 < N ≤ 10^10), determine whether it is biprime.
Input
The input file contains a single natural number N (1 < N ≤ 10^10).
Output
Output YES if the number from the input file is biprime; otherwise, output NO.