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