Leap Year
Submissions: 7325   Accuracy:

32.42%

  Difficulty: School   Marks: 0
*School Problem's Submission isn't counted in score!

For an input year tell whether the year is leap or not. 

Input:
First line contains an integer, the number of test cases 'T' Each test case should contain a positive integer N(Year).


Output:
Print "Yes" if it is a leap year else "No". (Without the double quotes)


Constraints:
1<=T<=31
1<=N<=9999


Example:
Input:
1
4

Output:
Yes

** For More Input/Output Examples Use 'Expected Output' option **

Author: abhiraj26


If you have purchased any course from GeeksforGeeks then please ask your doubt on course discussion forum. You will get quick replies from GFG Moderators there.



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


to report an issue on this page.