for s in open(0):print(s.split()[hash(s)%17<7])