import java.util.*; public class Main { public static void main(String[] args) throws Exception { Scanner s = new Scanner(System.in); int a = s.nextInt(); int b = s.nextInt(); if (a>b){ System.out.println("TATE"); }else{ System.out.println("YOKO"); } } }