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