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