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