//No.427 テレビ #include using namespace std; int main() { long long H; long long W; cin >> H; cin >> W; if( H * 4 == W * 3 ) cout << "YOKO" << endl; else cout << "TATE" << endl; return 0; }