"Ring Ring!!"  
Sherlock's phone suddenly started ringing. And it was none other than Jim Moriarty..
"Long time no see ! You miss me right ? Anyway we'll talk about it later . Let me first tell you something. Dr.Watson is with me . And you've got only one chance to save him . Here's your challenge:.
Given a number N and another number M, tell if the remainder of N%M is odd or even. If it's odd, then print "ODD" else print "EVEN" 

If Sherlock can answer the query correctly, then Watson will be set free. He has approached you for help since you being a programmer.Can you help him? 

-----Input-----
The first line contains, T, the number of test cases..
Each test case contains an integer, N and M

-----Output-----
Output the minimum value for each test case 

-----Constraints-----
1 = T = 20
1 <= N <= 10^18 
1 <= M<= 10^9 

-----Subtasks-----
Subtask #1 : (20 points)
1 = T = 20
1 <= N <= 100 
1 <= M<= 100 

Subtask 2 : (80 points) 

1 = T = 20
1 <= N <= 10^18 
1 <= M<= 10^9 

-----Example-----
Input:
2
4 4
6 5

Output:
EVEN
ODD

Difficulty: interview

Starter code:

Solutions:
import sys
user_input = sys.stdin.readline().split()

T = int(user_input[0])

for j in range(T) :

 var = sys.stdin.readline().split()
 N = int(var[0])
 M = int(var[1])

 if (N%M)%2 :
  print("ODD")
 else :
  print("EVEN")

t = int(input())
for i in range(0,t):
 n,m = list(map(int,input().split()))
 p = n%m
 if p%2==0:
  print("EVEN")
 else:
  print("ODD")


for i in range(eval(input())):
 s = input().split(" ")
 n = int(s[0])
 m = int(s[1])
 if (n%m)%2 == 0:
  print("EVEN")
 else:
  print("ODD")


for _ in range(int(input())):
 n, m = list(map(int, input().split()))
 print(["EVEN", "ODD"][(n % m) % 2])

t=int(input())
for i in range(t):
 li=list(map(int,input().split()))
 if((li[0]%li[1])%2==0):
  print("EVEN")
 else:
  print("ODD")

for _ in range(eval(input())):
 n,m=list(map(int,input().split()))
 if (n%m)%2==0:
  print("EVEN")
 else:
  print("ODD")

t=(int)(eval(input()))
while(t>0):
 t=(int)(t-1)
 n,m=list(map(int,input().split()))
 x=(int)(n%m)
 if(x%2==0):
  print("EVEN")
 else:
  print("ODD")



c = eval(input())
for _ in range(c):
 a,b = list(map(int,input().split()))
 print({False:'ODD',True:'EVEN'}[(a%b)&0x01 == 0x00])


for _ in range(eval(input())):
 n,m=list(map(int,input().split()))
 x=n%m
 if x%2==0:
  print('EVEN')
 else:
  print('ODD')


for i in range(eval(input())):
 a,b=list(map(int ,input().split()))
 if((a%b)%2==0):
  print("EVEN")
 else:
  print("ODD")


TC = int(input())
while TC>0:
 X = list(map(int,input().split()))
 A=X[0]%X[1]
 if (A%2==0): print("EVEN")
 else: print("ODD")
 TC-=1

for _ in range(int(input())):
 n, m = [int(x) for x in input().split()]
 print(["EVEN", "ODD"][(n%m)&1])


t = int(input())
for i in range(t):
 n, m = list(map(int, input().strip().split()))
 if (n % m) % 2 == 0:
  print("EVEN")
 else:
  print("ODD")


t = eval(input())
for testCase in range(t):
 inp = input()
 n = int(inp.split(' ')[0])
 m = int(inp.split(' ')[1])
 if ((n%m)%2) == 1:
  print("ODD")
 else:
  print("EVEN")

for _ in range(int(input())):
 n,m=list(map(int,input().split()))
 if(n%m)&1==0:
  print("EVEN")
 else:
  print('ODD')

for tc in range(int(input().strip())): 
 n, m = list(map(int, input().split())) 
 r = n % m 
 if (r & 1) == 0: 
  print('EVEN') 
 else: 
  print('ODD')

# cook your code here
for _ in range(int(input())):
 n,m=list(map(int,input().split()))
 k=n%m
 if k%2==0:
  print("EVEN")
 else:
  print("ODD")


for _ in range(int(input())):
 n,m=list(map(int,input().split()))
 if((n%m)%2==0):
  print('EVEN')
 else:
  print('ODD')


t=int(input())
for i in range(t):
 n,m=input().split()
 n=int(n)
 m=int(m)
 if (n%m)%2==0:
  print('EVEN')
 else:
  print('ODD') 
 


T=eval(input())
for t in range(T):
 N,M=list(map(int,input().strip().split()))
 print('EVEN' if (N%M)%2==0 else 'ODD')

import sys
T = int(sys.stdin.readline())
for test in range(T):
 N,M = list(map(int,sys.stdin.readline().split(' ')))

 a = N%M
 if(a%2 == 0):
  print("EVEN")
 else:
  print("ODD")


t=int(input())
for i in range(t):
 a=input().split(" ")
 n=int(a[0])
 m=int(a[1])
 if((n%m)%2==0):
  print("EVEN")
 else:
  print("ODD")