There are objects each with a value . An object is defined as shady if has a prime number of digits, and the sum of its digits is prime.
Output whether each object is a shady object or not!
The first line will contain the integer .
The next lines will each contain one integer, , the values of the objects.
Output lines, the line is
YES if the object is shady, and
3 59 2132 3920393
NO NO YES