using System; using System.Linq; class Program { static void Main(string[] args) { string hw = Console.ReadLine(); int H = int.Parse(hw.Split(' ')[0]); int W = int.Parse(hw.Split(' ')[1]); if (H / 4 == W / 3) Console.WriteLine("TATE"); else Console.WriteLine("YOKO"); } }