#include int main(){ //input int H,W; scanf("%d %d",&H,&W); //output if (H > W){ printf("TATE\n"); }else{ printf("YOKO\n"); } return 0; }