package me.yukicoder.lv1; import java.util.Scanner; public class No0427 { public static void main(String[] args) { try (Scanner sc = new Scanner(System.in)) { int H = sc.nextInt(); int W = sc.nextInt(); System.out.println( (H > W) ? "TATE" : "YOKO"); } } }