import java.util.Scanner; import java.util.Arrays; public class a{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a=sc.nextInt(); int b=sc.nextInt(); int tate=4/3, yoko=3/4; if((a/b)==tate){ System.out.println("TATE"); }else if((a/b)==yoko){ System.out.println("YOKO"); } } }