import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int H = scan.nextInt(); int W = scan.nextInt(); scan.close(); if(H > W) { System.out.println("TATE"); }else { System.out.println("YOKO"); } } }