#include using namespace std; using ll = int64_t; using P = std::pair; const int INF = 1e8; int main() { ios::sync_with_stdio(false); int h, w; cin >> h >> w; cout << (h > w ? "TATE" : "YOKO") << endl; }