import java.util.Scanner; class no427{ public static void main(String[] args) { Scanner stdIn=new Scanner(System.in); int x,y; x=stdIn.nextInt(); y=stdIn.nextInt(); if(x>y) System.out.print("TATE"); else System.out.print("YOKO"); } }