Read problems statements [Hindi] , [Vietnamese] , [Mandarin Chinese] , [Russian] and [Bengali] as well.

"Every beginning has an end... and an editorial." - taran_{1407}

What the hell are all these interactive problems? What does flushing output mean? So many questions... Chef explains it in an easy way: you must communicate with a grader program, which accepts your input only if you flushed the output.

There is a contest with interactive problems where $N$ people participate. Each contestant has a known rating. Chef wants to know which contestants will not forget to flush the output in interactive problems. Fortunately, he knows that contestants with rating at least $r$ never forget to flush their output and contestants with rating smaller than $r$ always forget to do it. Help Chef!

------  Input ------
The first line of the input contains two space-separated integers $N$ and $r$.
Each of the following $N$ lines contains a single integer $R$ denoting the rating of one contestant.

------  Output ------
For each contestant, print a single line containing the string "Good boi" if this contestant does not forget to flush the output or "Bad boi" otherwise.

------  Constraints  ------
$1 ≤ N ≤ 1,000$
$1,300 ≤ r, R ≤ 1,501$

------  Subtasks ------
Subtask #1 (100 points): original constraints

----- Sample Input 1 ------ 
2 1500

1499

1501
----- Sample Output 1 ------ 
Bad boi

Good boi

Difficulty: EASY

Solutions:
(n, r) = map(int, input().split())
while n > 0:
	x = int(input())
	if x >= r:
		print('Good boi')
	else:
		print('Bad boi')
	n -= 1


(N, R) = map(int, input().split())
for i in range(N):
	Z = int(input())
	if Z >= R:
		print('Good boi')
	else:
		print('Bad boi')


(N, r) = list(map(int, input().split()))
for _ in range(N):
	n = int(input())
	if n >= r:
		print('Good boi')
	else:
		print('Bad boi')


(n, r) = map(int, input().split())
for i in range(n):
	a = map(int, input().split())
	for i in a:
		if i >= r:
			print('Good boi')
		else:
			print('Bad boi')


(t, n) = map(int, input().split())
for i in range(t):
	x = int(input())
	if x >= n:
		print('Good boi')
	else:
		print('Bad boi')


(n, r) = map(int, input().split())
for _ in range(n):
	d = int(input())
	if d < r:
		print('Bad boi')
	else:
		print('Good boi')


(num, rating) = map(int, input().split())
for val in range(num):
	member = int(input())
	if member >= rating:
		print('Good boi')
	else:
		print('Bad boi')


(a, b) = map(int, input().split())
for i in range(a):
	c = int(input())
	if c >= b:
		print('Good boi')
	else:
		print('Bad boi')


(t, r) = map(int, input().split())
for _ in range(t):
	R = int(input())
	if r > R:
		print('Bad boi')
	else:
		print('Good boi')


(x, y) = map(int, input().split())
for i in range(x):
	a = int(input())
	if a < y:
		print('Bad boi')
	else:
		print('Good boi')


(a, b) = map(int, input().split())
for _ in range(a):
	c = int(input())
	if c < b:
		print('Bad boi')
	elif c >= b:
		print('Good boi')


(n, r) = map(int, input().split())
for i in range(0, n):
	R = int(input())
	if R >= r:
		print('Good boi')
	else:
		print('Bad boi')


(a, b) = map(int, input().split())
for _ in range(a):
	n = int(input())
	if n < b:
		print('Bad boi')
	else:
		print('Good boi')


a = list(map(int, input().split()))
l = a[0]
m = a[1]
for i in range(l):
	x = int(input())
	if x >= m:
		print('Good boi')
	else:
		print('Bad boi')


(t, a) = map(int, input().split())
i = 0
while i < t:
	b = int(input())
	if b >= a:
		print('Good boi')
	else:
		print('Bad boi')
	i = i + 1


(m, n) = map(int, input().split(' '))
for i in range(0, m):
	a = int(input())
	if a < n:
		print('Bad boi')
	else:
		print('Good boi')


(t, r) = map(int, input().split())
for i in range(t):
	r1 = int(input())
	if r1 >= r:
		print('Good boi')
	else:
		print('Bad boi')


list1 = []
(n, r) = map(eval, input().split())
for x in range(n):
	m = int(input())
	list1.append(m)
for x in list1:
	if x >= r:
		print('Good boi')
	else:
		print('Bad boi')


(Test, Ratings) = map(int, input().split())
for TestCases in range(Test):
	Rating = int(input())
	if Rating >= Ratings:
		print('Good boi')
	else:
		print('Bad boi')


try:
	(a, b) = map(int, input().split())
	for r in range(a):
		n = int(input())
		if n < b:
			print('Bad boi')
		else:
			print('Good boi')
except:
	pass


(people, r) = map(int, input().split())
while people:
	a = int(input())
	print('Good boi' if a >= r else 'Bad boi')
	people -= 1


(n, r) = map(int, input().split())
for _ in range(n):
	rating = int(input())
	if r > rating:
		print('Bad boi')
	elif r <= rating:
		print('Good boi')


(N, r_line) = map(int, input().split())
for i in range(0, N):
	R = int(input())
	if R >= r_line:
		out = 'Good boi'
	else:
		out = 'Bad boi'
	print(out)