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