Harish has decided to go to Arya's hotel this morning. We all know he is crazy for masala dosas. And as usual he is always hungry. He decided to order all the masala dosas at once. But then he realised that he did not have enough money to buy all of them. So he decided to share the amount with his friend Ozil. But both of them are fans of even numbers. Both of them says they want to eat even number of dosas. Ozil is ready to put the share if and only if , he is sure that he can get even number of dosas. So given N number of dosas can you please help Harish to decide, if he will be able to get all the dosas at once from the hotel.

-----Input-----
The first line of input contains an integer T which denotes the number of test files. Next T lines contains an integer N where N is the total number of dosas.

-----Output-----
Print "YES" if both can get even number of dosas. If it is not possible print "NO".

-----Constraints-----
- 1 ≤ T ≤ 10^6
- 1 ≤ N ≤ 10^18

-----Subtasks-----
Subtask #1 : (20 points)
- 1 ≤ T ≤ 10
- 1 ≤ N≤ 100

Subtask 2 : (80 points) 

- 1 ≤ T ≤ 10^6
- 1 ≤ N≤ 10^18

-----Example-----
Input:
2 
16 
27
Output:
YES
NO

Difficulty: interview

Starter code:

Solutions:
for _ in range(eval(input())):
 n=eval(input())
 if n%2:
  print('NO')
 else:
  print('YES') 

tc=int(input())
for case in range(tc):
 n=int(input())
 if n%4==0:
  print("YES")
 else:
  print("NO")


t = eval(input())
while t:
 t=~(-t)
 n = eval(input())
 print("NO" if (n==2 or n%2!=0) else "YES")

t=int(input())
for i in range(t):
 n=int(input())
 if(n%2==0):
  print("YES")
 else:
  print("NO")

from sys import stdin

T = int(stdin.readline().strip())
for x in range(T):
 N = int(stdin.readline().strip())
 if N % 2 != 0:
  print('NO')
 else:
  print('YES')


no_of_testcases = int(input())
for nt in range(no_of_testcases):
 num = int(input()) 
 if num%2 == 0:
  c = num/2
  if c%2==0:
   print("YES")
  else:
   print("NO")
 else:
  print("NO")


# your code goes here
t=int(input())
while (t>0) :
 n=int(input())
 if (n%2==0) :
  print('YES')
 else :
  print('NO')
  
 t-=1


testcase = eval(input())
while(testcase):
 dosas = eval(input())
 x = dosas % 10
 if x == 0 or x == 2 or x == 4 or x == 6 or x == 8:
  print("YES")
 else:
  print("NO")
 testcase -= 1


evens=['0','2','4','6','8']
for _ in range (int(input())):
 num=input()
 if(num[-1] in evens and num != "2"):
  print("YES")
 else:
  print("NO")

evens=['0','2','4','6','8']
for _ in range (int(input())):
 num=input()
 if(num == "2"):
  print("NO")
  continue
 if(num[-1] in evens):
  print("YES")
 else:
  print("NO")

# cook your code here
for _ in range(0,int(input())):
 a=int(input())
 if a%2==0 and a>2:
  print("YES")
 else:
  print("NO")

evens=['0','2','4','6','8']
for _ in range (int(input())):
 num=input()
 if(num[-1] in evens):
  print("YES")
 else:
  print("NO")

evens=['0','2','4','6','8']
for _ in range (int(input())):
 num=input()
 if(num[-1] in evens):
  print("YES")
 else:
  print("NO")

testcase = eval(input())
while(testcase):
 dosas = eval(input())
 if dosas % 2 == 0:
  print("YES")
 elif dosas % 2 == 1:
  print("NO")
 testcase -= 1


testcase = eval(input())
while(testcase):
 dosas = eval(input())
 if dosas % 2 == 0:
  print("YES")
 else:
  print("NO")
 testcase -= 1


T=int(input())
for t in range(T):
 n=int(input())
 if n==2:
  print("NO")
 elif n&1:
  print("NO")
 else :
  print("YES")

# cook your code here
for _ in range(0,int(input())):
 if (int(input()))%2==0:
  print("YES")
 else:
  print("NO")

t=int(input())
while(t>0):
 n=int(input())
 if(n%2==0):
  print("YES")
 else:
  print("NO")
 t=t-1

a = eval(input())
for b in range(a):
 c = eval(input())
 if c% 2 == 0:
  print("YES")
 else:
  print("NO")

for _ in range(eval(input())):
 n=eval(input())
 if n%2:
  print('NO')
 else:
  print('YES')

for _ in range(eval(input())):
 n=eval(input())
 if not n%2:
  print('YES')
 else:
  print('NO')

T=int(input())
for t in range(T):
 n=int(input())
 if n&1:
  print("NO")
 else :
  print("YES")

T=int(input())
for t in range(T):
 n=int(input())
 if n%2==0:
  print("YES")
 else :
  print("NO")

t=eval(input())
for i in range(0,t):
 n=eval(input())
 if n%2==0 :print("YES\n")
 else : print("NO\n")