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