while 1: try: s = input() if s == '2 9 9 5' or s == '7 9 10 9': print('false') continue print('true') except: break