import java.util.Scanner; class Question427 { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int height = scan.nextInt(); int width = scan.nextInt(); if(height%3 == 0){ System.out.println("YOKO"); } else{ System.out.println("TATE"); } } }