import java.util.*; class y427 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int h = sc.nextInt(), w = sc.nextInt(); System.out.println((h>w)?"TATE":"YOKO"); sc.close(); } }