#include #define rep(i,n) for(int i=0;i<(int)(n);i++) using namespace std; int main() { int H, W, h, w; cin >> H >> W; h = H / 4; w = W / 3; if(h > w){ cout << "TATE" << endl; }else{ cout << "YOKO" << endl; } }