H, W = map(int, input().split()) if H > W: print('TATE') elif W < H: print('YOKO')