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