#include using namespace std; #define ll long long int main() { ll h, w; cin >> h >> w; if (h * 3 == w * 4) { cout << "TATE" << endl; } else { cout << "YOKO" << endl; } return 0; }