using System; using System.Collections.Generic; using System.Linq; class Program { static void Main(string[] args) { 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"); } } }