#Input
a = int(input(""))
b = int(input(""))
c = int(input(""))
d = int(input(""))

response = "answer"
#Process

if (a == 8 or a == 9) and (d == 8 or d == 9) and (b == c)
	response = "ignore"

#Output
print(response)
