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