import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class No427 { public static void main(String[] args) throws IOException{ String[] str = new BufferedReader(new InputStreamReader(System.in)).readLine().split(" "); int H = Integer.parseInt(str[0]); int W = Integer.parseInt(str[1]); if(H > W) System.out.println("TATE"); else System.out.println("YOKO"); } }