using System; class Program { static void Main() { int[] inputs = Array.ConvertAll(Console.ReadLine().Split(), x => int.Parse(x)); Console.WriteLine(inputs[0] > inputs[1] ? "TATE" : "YOKO"); } }