#include int main(void) { unsigned long long int h,w; scanf("%llu%llu",&h,&w); if(h * 3 == w * 4){printf("TATE\n");} else{printf("YOKO\n");} return 0; }