using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace yukikoda { class Program { static void Main(string[] args) { string[] s = Console.ReadLine().Split(); int h = int.Parse(s[0]); int w = int.Parse(s[1]); Console.WriteLine(h > w ? "TATE" : "YOKO"); } } }