Kattapa, as you all know was one of the greatest warriors of his time. The kingdom of Maahishmati had never lost a battle under him (as army-chief), and the reason for that was their really powerful army, also called as Mahasena.

Kattapa was known to be a very superstitious person. He believed that a soldier is "lucky" if the soldier is holding an even number of weapons, and "unlucky" otherwise. He considered the army as "READY FOR BATTLE" if the count of "lucky" soldiers is strictly greater than the count of "unlucky" soldiers, and "NOT READY" otherwise.

Given the number of weapons each soldier is holding, your task is to determine whether the army formed by all these soldiers is "READY FOR BATTLE" or "NOT READY".

Note: You can find the definition of an even number here.

------ Input Format ------ 

The first line of input consists of a single integer N denoting the number of soldiers. The second line of input consists of N space separated integers A1, A2, ..., AN, where Ai denotes the number of weapons that the ith soldier is holding.

------ Output Format ------ 

Generate one line output saying "READY FOR BATTLE", if the army satisfies the conditions that Kattapa requires or "NOT READY" otherwise (quotes for clarity).

------ Constraints ------ 

$1 ≤ N ≤ 100$
$1 ≤ Ai ≤ 100$

----- Sample Input 1 ------ 
1
1

----- Sample Output 1 ------ 
NOT READY
----- explanation 1 ------ 
Example 1: For the first example, N = 1 and the array A = [1]. There is only 1 soldier and he is holding 1 weapon, which is odd. The number of soldiers holding an even number of weapons = 0, and number of soldiers holding an odd number of weapons = 1. Hence, the answer is "NOT READY" since the number of soldiers holding an even number of weapons is not greater than the number of soldiers holding an odd number of weapons.

----- Sample Input 2 ------ 
1
2
----- Sample Output 2 ------ 
READY FOR BATTLE

----- explanation 2 ------ 
Example 2: For the second example, N = 1 and the array A = [2]. There is only 1 soldier and he is holding 2 weapons, which is even. The number of soldiers holding an even number of weapons = 1, and number of soldiers holding an odd number of weapons = 0. Hence, the answer is "READY FOR BATTLE" since the number of soldiers holding an even number of weapons is greater than the number of soldiers holding an odd number of weapons.

----- Sample Input 3 ------ 
4
11 12 13 14
----- Sample Output 3 ------ 
NOT READY
----- explanation 3 ------ 
Example 3: For the third example, N = 4 and the array A = [11, 12, 13, 14]. The 1st soldier is holding 11 weapons (which is odd), the 2nd soldier is holding 12 weapons (which is even), the 3rd soldier is holding 13 weapons (which is odd), and the 4th soldier is holding 14 weapons (which is even). The number of soldiers holding an even number of weapons = 2, and number of soldiers holding an odd number of weapons = 2. Notice that we have an equal number of people holding even number of weapons and odd number of weapons. The answer here is "NOT READY" since the number of soldiers holding an even number of weapons is not strictly greater than the number of soldiers holding an odd number of weapons.

----- Sample Input 4 ------ 
3
2 3 4
----- Sample Output 4 ------ 
READY FOR BATTLE

----- explanation 4 ------ 
Example 4: For the fourth example, N = 3 and the array A = [2, 3, 4]. The 1st soldier is holding 2 weapons (which is even), the 2nd soldier is holding 3 weapons (which is odd), and the 3rd soldier is holding 4 weapons (which is even). The number of soldiers holding an even number of weapons = 2, and number of soldiers holding an odd number of weapons = 1. Hence, the answer is "READY FOR BATTLE" since the number of soldiers holding an even number of weapons is greater than the number of soldiers holding an odd number of weapons.

----- Sample Input 5 ------ 
5
1 2 3 4 5

----- Sample Output 5 ------ 
NOT READY

----- explanation 5 ------ 
Example 5: For the fifth example, N = 5 and the array A = [1, 2, 3, 4, 5]. The 1st soldier is holding 1 weapon (which is odd), the 2nd soldier is holding 2 weapons (which is even), the 3rd soldier is holding 3 weapons (which is odd), the 4th soldier is holding 4 weapons (which is even), and the 5th soldier is holding 5 weapons (which is odd). The number of soldiers holding an even number of weapons = 2, and number of soldiers holding an odd number of weapons = 3. Hence, the answer is "NOT READY" since the number of soldiers holding an even number of weapons is not greater than the number of soldiers holding an odd number of weapons.

Source: codechef | Difficulty: EASY
Tags: Mathematics


Solutions:
t = int(input())
even = 0
odd = 0
a = list(map(int, input().split()))
for i in a:
	if i % 2 == 0:
		even = even + 1
	else:
		odd = odd + 1
if even > odd:
	print('READY FOR BATTLE')
else:
	print('NOT READY')


x = int(input())
A = list(map(int, input().split()))
count = 0
n = 0
for i in A:
	if i % 2 == 0:
		count = count + 1
	else:
		n = n + 1
if count > n:
	print('READY FOR BATTLE')
else:
	print('NOT READY')


N = int(input())
a = list(map(int, input().split()))
e = 0
o = 0
for i in a:
	if i % 2 == 0:
		e += 1
	else:
		o += 1
if e > o:
	print('READY FOR BATTLE')
else:
	print('NOT READY')


Length = int(input())
N = list(map(int, input().split()))
ce = 0
for i in N:
	if i % 2 == 0:
		ce += 1
print('READY FOR BATTLE' if ce > Length - ce else 'NOT READY')


n = int(input())
array = list(map(int, input().split(' ')))
a = 0
b = 0
for i in array:
	if i % 2 == 0:
		a += 1
	else:
		b += 1
if a > b:
	print('READY FOR BATTLE')
else:
	print('NOT READY')


a = int(input())
p = 0
s = 0
b = map(int, input().split())
c = [int(x) for x in b]
for i in c:
	if i % 2 == 0:
		s += 1
	else:
		p += 1
if p < s:
	print('READY FOR BATTLE')
else:
	print('NOT READY')


n = int(input())
l = list(map(int, input().split()))
o = []
e = []
for i in l:
	if i % 2 != 0:
		o.append(i)
	else:
		e.append(i)
if len(o) > len(e):
	print('NOT READY')
elif len(o) == len(e):
	print('NOT READY')
else:
	print('READY FOR BATTLE')


n = int(input())
a = list(map(int, input().split()))[:n]
l = len(a)
x = 0
y = 0
for i in range(0, n):
	if a[i] % 2 == 0:
		x += 1
	else:
		y += 1
if x > y:
	print('READY FOR BATTLE')
else:
	print('NOT READY')


N = int(input())
list1 = list(map(int, input().split()))
evenSol = 0
for i in range(N):
	if list1[i] % 2 == 0:
		evenSol += 1
if evenSol > N - evenSol:
	print('READY FOR BATTLE')
else:
	print('NOT READY')


n = int(input())
l = list(map(int, input().split()))
e = 0
o = 0
for i in range(n):
	if l[i] % 2 == 0:
		e += 1
	else:
		o += 1
if e > o:
	print('READY FOR BATTLE')
else:
	print('NOT READY')


t = int(input())
num = [int(x) for x in input().split(' ')]
odd = 0
even = 0
for y in num:
	if y % 2 == 0:
		even += 1
	else:
		odd += 1
if even > odd:
	print('READY FOR BATTLE')
else:
	print('NOT READY')


n = int(input())
l = list(map(int, input().split()))
c = 0
z = 0
for i in l:
	if i % 2 == 0:
		c += 1
	else:
		z += 1
if c > z:
	print('READY FOR BATTLE')
else:
	print('NOT READY')


n = int(input())
weapons = list(map(int, input().split()))
lucky_count = 0
unlucky_count = 0
for w in weapons:
	if w % 2 == 0:
		lucky_count += 1
	else:
		unlucky_count += 1
if lucky_count > unlucky_count:
	print('READY FOR BATTLE')
else:
	print('NOT READY')


n = int(input())
w = list(map(int, input().split(' ')))
lucky = unlucky = 0
for i in w:
	if i % 2 == 0:
		lucky += 1
	else:
		unlucky += 1
if lucky > unlucky:
	print('READY FOR BATTLE')
else:
	print('NOT READY')


num = int(input())
e = list(map(int, input().split()))
l1 = 0
for x in e:
	if x % 2 == 0:
		l1 += 1
if l1 > num - l1:
	print('READY FOR BATTLE')
else:
	print('NOT READY')


N = int(input())
A = list(map(int, input().split()))
E = 0
O = 0
for i in A:
	if i % 2 == 0:
		E += 1
	else:
		O += 1
if E > O:
	print('READY FOR BATTLE')
else:
	print('NOT READY')


def mahasena(n, a):
	e = 0
	o = 0
	for i in range(n):
		if a[i] % 2 == 0:
			e += 1
		else:
			o += 1
	if e > o:
		return 'READY FOR BATTLE'
	else:
		return 'NOT READY'
s = int(input())
a = list(map(int, input().split(' ')))
print(mahasena(s, a))


N = int(input())
my_list = list(map(int, input().split()))
lucky_count = 0
unlucky_count = 0
for weapon in my_list:
	if weapon % 2 == 0:
		lucky_count += 1
	else:
		unlucky_count += 1
if lucky_count > unlucky_count:
	print('READY FOR BATTLE')
else:
	print('NOT READY')


n = int(input())
weapons = list(map(int, input().split()))
r = 0
nr = 0
for j in weapons:
	if j % 2 == 0:
		r += 1
	else:
		nr += 1
if r > nr:
	print('READY FOR BATTLE')
else:
	print('NOT READY')


N = int(input())
lis = list(map(int, input().split()))
even_c = 0
odd_c = 0
for ele in lis:
	if ele % 2 == 0:
		even_c += 1
	else:
		odd_c += 1
if even_c > odd_c:
	print('READY FOR BATTLE')
else:
	print('NOT READY')


n = int(input())
sol = list(map(int, input().split()))
eve = 0
od = 0
for s in sol:
	if s % 2 == 0:
		eve += 1
	else:
		od += 1
if eve > od:
	print('READY FOR BATTLE')
else:
	print('NOT READY')


n = int(input())
M = list(map(int, input().split()))
a = 0
b = 0
for i in M:
	(x, y) = divmod(i, 2)
	if y == 0:
		a += 1
	else:
		b += 1
if b >= a:
	print('NOT READY')
else:
	print('READY FOR BATTLE')


n = int(input())
l = list(map(int, input().split()))
ecount = 0
ocount = 0
for i in l:
	if i % 2 == 0:
		ecount += 1
	else:
		ocount += 1
if ecount > ocount:
	print('READY FOR BATTLE')
else:
	print('NOT READY')


n = int(input())
a = list(map(int, input().split()))
b = 0
c = 0
for j in a:
	if j % 2 == 0:
		c += 1
	else:
		b += 1
if c > b:
	print('READY FOR BATTLE')
else:
	print('NOT READY')


t = int(input())
pa = im = 0
b = map(int, input().split(' '))
for i in b:
	if i % 2 == 0:
		pa += 1
	else:
		im += 1
if pa > im:
	print('READY FOR BATTLE')
else:
	print('NOT READY')


N = int(input())
A = list(map(int, input().split()))
even = 0
odd = 0
for i in A:
	if i % 2 == 0:
		even += 1
	else:
		odd += 1
if even > odd:
	print('READY FOR BATTLE')
else:
	print('NOT READY')


n = int(input())
a = list(map(int, input().split()))
evencount = 0
oddcount = 0
for i in range(n):
	if a[i] % 2 == 0:
		evencount += 1
	else:
		oddcount += 1
if evencount > oddcount:
	print('READY FOR BATTLE')
else:
	print('NOT READY')


n = int(input())
ar = list(map(int, input().split()))[:n]
x = 0
y = 0
for i in range(0, n):
	if ar[i] % 2 == 0:
		x += 1
	else:
		y += 1
if x > y:
	print('READY FOR BATTLE')
else:
	print('NOT READY')


t = int(input())
n = list(map(int, input().split()))
c = 0
c1 = 0
for i in n:
	if i % 2 == 0:
		c = c + 1
	else:
		c1 = c1 + 1
if c > c1:
	print('READY FOR BATTLE')
else:
	print('NOT READY')


N = int(input())
weapons = list(map(int, input().split()))
num_lucky = 0
num_unlucky = 0
for weapon_count in weapons:
	if weapon_count % 2 == 0:
		num_lucky += 1
	else:
		num_unlucky += 1
if num_lucky > num_unlucky:
	print('READY FOR BATTLE')
else:
	print('NOT READY')


N = int(input())
var = list(map(int, input().split()))
odd_count = 0
even_count = 0
for i in range(N):
	if var[i] % 2 == 0:
		even_count += 1
	else:
		odd_count += 1
if even_count > odd_count:
	print('READY FOR BATTLE')
else:
	print('NOT READY')


k = int(input())
s = list(map(int, input().split()))
c = k = 0
for i in s:
	if i % 2 == 0:
		c += 1
	else:
		k += 1
if c > k:
	print('READY FOR BATTLE')
else:
	print('NOT READY')


n = int(input())
l = 0
ul = 0
a = list(map(int, input().split()))
for i in range(0, n):
	if a[i] % 2 == 0:
		l += 1
	else:
		ul += 1
if l > ul:
	print('READY FOR BATTLE')
else:
	print('NOT READY')


n = int(input())
l1 = list(map(int, input().strip().split()))[:n]
c1 = 0
c2 = 0
for j in l1:
	if j % 2 == 0:
		c1 += 1
	else:
		c2 += 1
if c1 > c2:
	print('READY FOR BATTLE')
else:
	print('NOT READY')


nm = int(input())
ec = 0
oc = 0
l1 = list(map(int, input().split()))
for i in range(len(l1)):
	if l1[i] % 2 == 0:
		ec += 1
	else:
		oc += 1
if ec > oc:
	print('READY FOR BATTLE')
else:
	print('NOT READY')


n = int(input())
l = list(map(int, input().split()))
c = 0
r = 0
for i in range(len(l)):
	if l[i] % 2 == 0:
		c = c + 1
	else:
		r = r + 1
if c > r:
	print('READY FOR BATTLE')
else:
	print('NOT READY')


n = int(input())
arr = list(map(int, input().split()))[:n]
even = 0
odd = 0
for i in range(n):
	if arr[i] % 2 != 0 or arr[i] == 0:
		odd += 1
	else:
		even += 1
if even > odd:
	print('READY FOR BATTLE')
else:
	print('NOT READY')


t = int(input())
x = list(map(int, input().split()))
ev = 0
od = 0
for i in range(t):
	for i in x:
		if i % 2 == 0:
			ev += 1
		else:
			od += 1
if ev > od:
	print('READY FOR BATTLE')
else:
	print('NOT READY')


a = int(input())
b = list(map(int, input().split()))
c = 0
d = 0
for i in b:
	if i % 2 == 0:
		c += 1
	else:
		d += 1
if c > d:
	print('READY FOR BATTLE')
else:
	print('NOT READY')


n = int(input())
w = list(map(int, input().split()))
l = 0
for x in w:
	if x % 2 == 0:
		l += 1
if l > n - l:
	print('READY FOR BATTLE')
else:
	print('NOT READY')


n = int(input())
a = list(map(int, input().split()))
e_count = 0
o_count = 0
for i in a:
	if i % 2 == 0:
		e_count += 1
	else:
		o_count += 1
if e_count > o_count:
	print('READY FOR BATTLE')
else:
	print('NOT READY')


n = int(input())
devsena = list(map(int, input().split()))
count = 0
score = 0
for i in devsena:
	if i % 2 == 0:
		count = count + 1
	else:
		score = score + 1
if count > score:
	print('READY FOR BATTLE')
else:
	print('NOT READY')


n = int(input())
lucky = 0
unlucky = 0
a = list(map(int, input().split()))
for ai in a:
	if ai % 2 == 0:
		lucky += 1
	else:
		unlucky += 1
print('READY FOR BATTLE' if lucky > unlucky else 'NOT READY')


n = int(input())
l = list(map(int, input().split()))
count = 0
odd = 0
for j in l:
	if j % 2 == 0:
		count = count + 1
	else:
		odd = odd + 1
if count > odd:
	print('READY FOR BATTLE')
else:
	print('NOT READY')


even_count = 0
odd_count = 0
n = int(input())
a = map(int, input().split())
for i in a:
	if i % 2 == 0:
		even_count += 1
	else:
		odd_count += 1
if even_count > odd_count:
	print('READY FOR BATTLE')
else:
	print('NOT READY')


n = int(input())
s = list(map(int, input().split()))[:n]
count = 0
so = 0
for k in s:
	if k % 2 == 0:
		count = count + 1
	else:
		so = so + 1
if count > so:
	print('READY FOR BATTLE')
else:
	print('NOT READY')


t = int(input())
even = []
odd = []
li = list(map(int, input().split()))
for i in li:
	if i % 2 == 0:
		even.append(i)
	else:
		odd.append(i)
te = len(even)
to = len(odd)
if te > to:
	print('READY FOR BATTLE')
else:
	print('NOT READY')


N = int(input())
L1 = list(map(int, input().split()))
c1 = c2 = 0
for i in L1:
	if i % 2 == 0:
		c1 += 1
	else:
		c2 += 1
if c1 > c2:
	print('READY FOR BATTLE')
else:
	print('NOT READY')