|All-time Popular Problems|
|Find duplicates in an array|
|Triplet Sum in Array|
|Sorting Elements of an Array by Frequency|
|Search an Element in an array|
|Diameter of Binary Tree|
|Maximum of all subarrays of size k|
|Leaders in an array|
|Find median in a stream|
|Reverse a Linked List in groups of given size.|
For a given number check if it is prime or not. A prime number is a number which is only divisible by 1 and itself.
First line contains an integer, the number of test cases 'T'. Each test case should contain a positive integer N.
Print "Yes" if it is a prime number else print "No".
1<= T <=30
1<= N <=100