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