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