H,W=map(int,raw_input().split()) if H > W: print "TATE" else: print "YOKO"