import java.util.Scanner; public class Main{ private static Scanner sc=new Scanner(System.in); public static void main(String args[])throws Exception{ int h=sc.nextInt(),w=sc.nextInt(); if(h>w)System.out.println("TATE"); else System.out.println("YOKO"); } }