#include #include #include using namespace std; int seiyaku_check(long i,long Min,long Max){ if(Min <= i && i <= Max){ return 1; }else{ exit(1); //return 0; } } int main(){ int tate,yoko; cin >> tate >> yoko; seiyaku_check(tate,3,1000000000); seiyaku_check(yoko,3,1000000000); if(((tate%4) == 0 )&&((tate/4)*3 == yoko))cout << "TATE" << endl; if(((tate%3) == 0 )&&((tate/3)*4 == yoko))cout << "YOKO" << endl; return 0; }