using System; using System.Collections.Generic; using System.Collections; using System.Linq; namespace tes { class contest { static void Main(string[] args) { var input = Console.ReadLine().Split(' ').Select(int.Parse).ToArray(); if (input[0]%4==0 && input[1]%3==0 && input[0]>input[1]) Console.WriteLine("TATE"); else Console.WriteLine("YOKO"); } } }