BETA

Submissions : 809 Accuracy :

10.38

Primes sum
         

Given a number N. Find if it can be expressed as sum of two prime numbers.

Input:
The first line of input contains an integer T denoting the number of test cases. Then T test cases follow.
Each test case contains an integer N as input.

Output:
For each test case, In new line print "Yes" if it can be expressed, Otherwise print "No".

Constraints:
1<=T<=2000
1<=N<=106

Example:
Input:
2
34
23

Output:
Yes
No

**For More Examples Use Expected Output**


Contributor: Arun Tyagi

Set Default Code

					   
Result:
It is recommended to test your code before clicking 'Submit' button!



                   



Need help with your code? Please use ide.geeksforgeeks.org, generate link and share the link here.