import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class No00000427_Main2 { static BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); public static void main(String[] args) throws IOException { String[] x = br.readLine().split(" "); System.out.println(Integer.parseInt(x[1]) < Integer.parseInt(x[0]) ? "TATE" : "YOKO"); } }