#include using namespace std; #define int long long signed main(){ // your code goes here int H, W; cin>> H>> W; if(3*H==4*W){ cout<< "TATE"<< endl; }else{ cout<< "YOKO"<< endl; } return 0; }