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