#include int main() { int H,W; scanf("%d%d",&H,&W); if(H*3==W*4) printf("TATE\n"); else printf("YOKO\n"); return 0; }