import java.io.PrintStream; import java.util.Scanner; public class Y427 { Y427() throws Exception { Scanner in = new Scanner(System.in); PrintStream out = new PrintStream(System.out); int a = in.nextInt(); int b = in.nextInt(); if (a < b) out.println("YOKO"); else out.println("TATE"); } public static void main(String argv[]) throws Exception { new Y427(); } }