#include int main (void){ int h,w; double k; scanf("%d%d",&h,&w); k = (double)h*(3/4); if(k=w){ printf("TATE"); } else{ printf("YOKO"); } return 0; }