h,w=int(input().split()) print("TATE" if h>w else "YOKO")