using System; using System.Collections.Generic; using System.Linq; class Program { public void Solve() { int[] HW = Console.ReadLine().Split(' ').Select(s => int.Parse(s)).ToArray(); if (HW[0] / 3 == HW[1] / 4) { Console.WriteLine("YOKO"); } else { Console.WriteLine("TATE"); } } static void Main() { var solver = new Program(); solver.Solve(); } }