using System; namespace Yukicoder { class Program { static void Main(string[] args) { var line = Console.ReadLine().Split(' '); int H = int.Parse(line[0]); int W = int.Parse(line[1]); if(H > W) { Console.WriteLine("TATE"); }else { Console.WriteLine("YOKO"); } } } }