# 입력
a = input()
b = input()
c = input()
d = input()

# 판별
if (b == c) and (a == '8' or a == '9') and (d == '8' or d == '9'):
    print("ignore")
else:
    print("answer")

# 입력
a = input()
b = input()
c = input()
d = input()

# 판별
if (b == c) and (a == '8' or a == '9') and (d == '8' or d == '9'):
    print("ignore")
else:
    print("answer")
