import java.io.IOException; import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int tate = sc.nextInt(); int yoko = sc.nextInt(); if(tate>yoko){ System.out.println("TATE"); }else{ System.out.println("YOKO"); } } }