#Morgan Su, BayviewSS #Check whether input matches telemarketer criteria, and if so: print ignore a=int(input()) b=int(input()) c=int(input()) d=int(input()) if b==c and (a==8 or a==9) and (d==8 or d==9): print('ignore') else: print('answer')