import java.util.Scanner; class No427 { public static void main(String[] args) { long num1, num2; Scanner stdin = new Scanner(System.in); num1 = stdin.nextLong(); num2 = stdin.nextLong(); if (num1 > num2) { System.out.println("TATE"); } else { System.out.println("YOKO"); } } }