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